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

#include <string.h>

#ifdef _EGL_OS_WINDOWS
#include <stdio.h>
#define _eglstrcasecmp _stricmp
#define _eglsnprintf _snprintf
#else
#define _eglstrcasecmp strcasecmp
#define _eglsnprintf snprintf
#endif

extern char *
_eglstrdup(const char *s);


#endif /* EGLSTRING_INCLUDED */