-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstdinc.h
executable file
·80 lines (75 loc) · 1.84 KB
/
stdinc.h
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
//
//---------------------------------------------------------------------------
#ifndef stdincH
#define stdincH
//---------------------------------------------------------------------------
#ifndef _WIN32
#define _REENTRANT 1
#define __STDC_FORMAT_MACROS 1
#endif
//---------------------------------------------------------------------------
#include <stdlib.h>
#ifdef _WIN32
#include <malloc.h>
#endif
#include <string.h>
#include <stdio.h>
#include <ctype.h>
#include <math.h>
#ifdef _WIN32
#include <dos.h>
#pragma warning(disable: 4996) // Deprecated stricmp
#include <stdint.h>
#include <winsock2.h>
#include <ws2tcpip.h>
#ifdef _BUILD_GUI
#include <commctrl.h>
#include <RichEdit.h>
#include <Windowsx.h>
#endif
#endif
#include <locale.h>
#include <time.h>
#ifdef _WIN32
#include <process.h>
#else
#include <unistd.h>
#include <errno.h>
#include <dirent.h>
#include <fcntl.h>
#include <inttypes.h>
#include <limits.h>
#include <netdb.h>
#include <arpa/inet.h>
#include <netinet/in.h>
#include <pthread.h>
#include <signal.h>
#include <sys/ioctl.h>
#if defined (__SVR4) && defined (__sun)
#include <sys/filio.h>
#endif
#include <sys/resource.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/stat.h>
#include <sys/utsname.h>
#include <syslog.h>
#endif
#include <tinyxml.h>
#include <tinystr.h>
#ifdef _WIN32
#include <psapi.h>
#include <io.h>
#include <Iphlpapi.h>
#endif
#include "pxstring.h"
//---------------------------------------------------------------------------
#define LibVersionString "0.5.0.1"
#define BUILD_NUMBER "448"
#ifdef _WIN32
#define PRIu64 "I64u"
#define strcasecmp stricmp
#define strncasecmp strnicmp
#endif
//---------------------------------------------------------------------------
#endif