-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathstdafx.h
More file actions
58 lines (48 loc) · 818 Bytes
/
stdafx.h
File metadata and controls
58 lines (48 loc) · 818 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
// SvenInt (c) Sw1ft
// stdafx.h
#ifndef STDAFX_H
#define STDAFX_H
#ifdef _WIN32
#pragma once
#endif
#ifndef _WIN32
#ifndef LINUX
#define LINUX
#endif
#endif
#ifdef _WIN32
#include <Windows.h>
#endif
#ifdef SINT_USE_GLEW
#include <GL/glew.h>
#else
#ifdef _WIN32
#include <gl/GL.h>
#else
#include <GL/gl.h>
#endif
#endif
#include "svenint.h"
#include "game/mathlib.h"
#include "game/hlsdk_mini.h"
#include "utils/memalloc.h"
#include "gamedata.h"
#ifndef _WIN32
#ifndef stricmp
#define stricmp strcasecmp
#endif
#ifndef strnicmp
#define strnicmp strncasecmp
#endif
#ifndef _wtoi
#define _wtoi(str) wcstol(str, 0, 10)
#endif
#ifdef __STDC_LIB_EXT1__
constexpr bool can_have_strcpy_s = true;
#else
constexpr bool can_have_strcpy_s = false;
#endif
#include <algorithm>
#endif
#endif // !STDAFX_H
#pragma hdrstop