Twitch SDK (Internal)
pch_platform.h
Go to the documentation of this file.
1 /********************************************************************************************
2 * Twitch Broadcasting SDK
3 *
4 * This software is supplied under the terms of a license agreement with Twitch Interactive, Inc. and
5 * may not be copied or used except in accordance with the terms of that agreement
6 * Copyright (c) 2012-2016 Twitch Interactive, Inc.
7 *********************************************************************************************/
8 
9 #pragma once
10 
11 // Visual Studio 2013 or under
12 #if (_MSC_VER <= 1800)
13 
14  #define snprintf _snprintf
15 
16 #endif
17 
18 
19 #ifndef TTV_STRCASECMP_DEFINED
20 #define TTV_STRCASECMP_DEFINED
21 
22 inline int strcasecmp(const char *one, const char *two)
23 {
24  return _stricmp(one, two);
25 }
26 
27 inline int strncasecmp(const char *one, const char *two, size_t count)
28 {
29  return _strnicmp(one, two, count);
30 }
31 
32 #endif
int strncasecmp(const char *one, const char *two, size_t count)
Definition: pch_platform.h:27
int strcasecmp(const char *one, const char *two)
Definition: pch_platform.h:22