egl: Don't include strings.h on Windows.
strings.h is needed for the declaration of strcasecmp(), but only on non-Windows platforms.
This commit is contained in:
parent
ffee498fb8
commit
6b024464e8
|
@ -38,7 +38,6 @@
|
|||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <strings.h>
|
||||
|
||||
#include "egllog.h"
|
||||
#include "eglstring.h"
|
||||
|
|
|
@ -38,6 +38,7 @@
|
|||
#define _eglstrcasecmp _stricmp
|
||||
#define _eglsnprintf _snprintf
|
||||
#else
|
||||
#include <strings.h> // for strcasecmp
|
||||
#define _eglstrcasecmp strcasecmp
|
||||
#define _eglsnprintf snprintf
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue