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 #ifndef TTV_STRCASECMP_DEFINED
19 #define TTV_STRCASECMP_DEFINED
20 
21 inline int strcasecmp(const char *one, const char *two)
22 {
23  return _stricmp(one, two);
24 }
25 
26 inline int strncasecmp(const char *one, const char *two, size_t count)
27 {
28  return _strnicmp(one, two, count);
29 }
30 
31 #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