* Fix MSVC build.

svn path=/trunk/; revision=60577
This commit is contained in:
Amine Khaldi 2013-10-07 14:03:34 +00:00
parent c73334d7d3
commit 12466faa47

View 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;