summaryrefslogtreecommitdiff
path: root/src/egl/main/eglstring.h
blob: d4c89541362b359b66ba41dc5bf6d319d9a59f11 (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>
#include <stdio.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 */