aboutsummaryrefslogtreecommitdiff
path: root/include/cxx_semantics.h
blob: f358e8ff6ba1d7905c7e09ffd983011b7f753f76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef CXX_SEMANTICS_H
#define CXX_SEMANTICS_H

#ifndef _MSC_VER
#define __packed __attribute__((__packed__))
#else
#define __packed 
#endif

#ifdef _MSC_VER
#define strdup _strdup
#endif

/*
 *	There's no need to include Boost for a simple subset this project needs.
 */
namespace semantics {
class non_constructible {
  non_constructible() {}
};
}

#endif