SLikeNet 0.1.3

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
LinuxStrings.h
Go to the documentation of this file.
1 /*
2 * Original work: Copyright (c) 2014, Oculus VR, Inc.
3 * All rights reserved.
4 *
5 * This source code is licensed under the BSD-style license found in the
6 * RakNet License.txt file in the licenses directory of this source tree. An additional grant
7 * of patent rights can be found in the RakNet Patents.txt file in the same directory.
8 *
9 *
10 * Modified work: Copyright (c) 2016, SLikeSoft UG (haftungsbeschränkt)
11 *
12 * This source code was modified by SLikeSoft. Modifications are licensed under the MIT-style
13 * license found in the license.txt file in the root directory of this source tree.
14 */
15
16 #ifndef _GCC_WIN_STRINGS
17 #define _GCC_WIN_STRINGS
18
19 #if defined(__native_client__)
20 #ifndef _stricmp
21 int _stricmp(const char* s1, const char* s2);
22 #endif
23 int _strnicmp(const char* s1, const char* s2, size_t n);
24 char *_strlwr(char * str );
25 #else
26 #if (defined(__GNUC__) || defined(__GCCXML__) || defined(__S3E__) ) && !defined(_WIN32)
27 #ifndef _stricmp
28 int _stricmp(const char* s1, const char* s2);
29 #endif
30 int _strnicmp(const char* s1, const char* s2, size_t n);
31 // http://www.jenkinssoftware.com/forum/index.php?topic=5010.msg20920#msg20920
32 #ifndef __APPLE__
33 char *_strlwr(char * str ); //this won't compile on OSX for some reason
34 #endif
35
36
37
38 #endif
39 #endif
40
41 #endif // _GCC_WIN_STRINGS