summaryrefslogtreecommitdiffstats
path: root/src/uscxml/Common.h
blob: 0b0a628cd1fe855e88a29fa4c0a4f95f7fe75af2 (plain)
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
#ifndef COMMON_H_YZ3CIYP
#define COMMON_H_YZ3CIYP

#ifdef _WIN32
#include <winsock2.h>
#include <windows.h>
#else
#include <sys/socket.h>
#endif

#if defined(_MSC_VER)
// disable signed / unsigned comparison warnings
#pragma warning (disable : 4018)
// possible loss of data
#pragma warning (disable : 4244)
#pragma warning (disable : 4267)
// 'this' : used in base member initializer list (TypedSubscriber)
#pragma warning (disable : 4355)

// is thrown alot in arabica headers
#pragma warning (disable : 4240)
#pragma warning (disable : 4250)

#endif


#endif /* end of include guard: COMMON_H_YZ3CIYP */