summaryrefslogtreecommitdiff
path: root/streamhtmlparser/port.h
blob: e8269592709ef675ce415befae765e1a064fc751 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef __INLINE_H
#define __INLINE_H

#ifdef _MSC_VER
#define INLINE __inline
#else
#define INLINE inline
#endif

#ifndef _WIN32
#include <strings.h>
#else
#define WIN32_MEAN_AND_LEAN
#include <windows.h>
#define strcasecmp stricmp
#define strncasecmp strnicmp
#define snprintf _snprintf
#endif

#endif