[MESA]
authorAmine Khaldi <amine.khaldi@reactos.org>
Mon, 7 Oct 2013 14:03:34 +0000 (14:03 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Mon, 7 Oct 2013 14:03:34 +0000 (14:03 +0000)
* Fix MSVC build.

svn path=/trunk/; revision=60577

reactos/dll/opengl/mesa/src/mesa/main/extensions.c

index 6224ae8..079dc52 100644 (file)
@@ -454,7 +454,7 @@ get_extension_override( struct gl_context *ctx )
    extra_exts = calloc(ALIGN(strlen(env_const) + 2, 4), sizeof(char));
 
    /* Copy env_const because strtok() is destructive. */
-   env = strdup(env_const);
+   env = _strdup(env_const);
    for (ext = strtok(env, " "); ext != NULL; ext = strtok(NULL, " ")) {
       int enable;
       int recognized;