File: wincstring.h

package info (click to toggle)
htmlcxx 0.86-1.3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,288 kB
  • sloc: cpp: 4,354; sh: 4,324; ansic: 1,655; yacc: 523; lex: 159; xml: 102; makefile: 53; perl: 27
file content (23 lines) | stat: -rw-r--r-- 356 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef __WINCSTRING_H__
#define __WINCSTRING_H__

#include <cstring>

#if defined(WIN32) && !defined(__MINGW32__)

/*
 * some functions have strange names on windows
 */
#ifndef strcasecmp
#define strcasecmp   _stricmp
#endif
#ifndef strncasecmp
#define strncasecmp  _strnicmp
#endif
#ifndef snprintf
#define snprintf     _snprintf
#endif

#endif

#endif