summaryrefslogtreecommitdiff
path: root/src/egl/main/eglstring.h
blob: bebb758dd82b6c187ed91a9a746e7afefcc36368 (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_PLATFORM_WINDOWS
#define _eglstrcasecmp _stricmp
#define _eglsnprintf _snprintf
#else
#define _eglstrcasecmp strcasecmp
#define _eglsnprintf snprintf
#endif

extern char *
_eglstrdup(const char *s);


#endif /* EGLSTRING_INCLUDED */