summaryrefslogtreecommitdiff
path: root/src/egl/main/eglstring.h
blob: f1d559b24a23362fc73e5aecea37bd2af6b42c47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef EGLSTRING_INCLUDED
#define EGLSTRING_INCLUDED

#include <string.h>

#ifdef _EGL_OS_WINDOWS
#define _eglstrcasecmp _stricmp
#define _eglsnprintf _snprintf
#else
#define _eglstrcasecmp strcasecmp
#define _eglsnprintf snprintf
#endif

extern char *
_eglstrdup(const char *s);


#endif /* EGLSTRING_INCLUDED */