LightWrap++
AC++wrapperfortheLightWave3DSDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
platform_osx.h
Go to the documentation of this file.
1
6
#ifndef LWPP_PLATFORM_OSX_H
7
#define LWPP_PLATFORM_OSX_H
8
9
#include <Carbon/Carbon.h>
10
#include <dirent.h>
11
#include <cstring>
12
#include <cmath>
13
#include <
math.h
>
14
#include <sstream>
15
#include <string>
16
#include <ios>
17
#include <cstdlib>
18
#include <cstdio>
19
#include <unistd.h>
20
#include <stdexcept>
21
#include <sys/stat.h>
22
23
#ifndef MEMORY_BARRIER
24
#include <libkern/OSAtomic.h>
25
#define MEMORY_BARRIER OSMemoryBarrier()
26
#endif // MEMORY_BARRIER
27
28
// using namespace std;
29
#define _mkdir(x) mkdir(x, DEFFILEMODE)
30
#define _unlink(x) unlink(x)
31
#define _alloca(x) __alloca(x)
32
#define _stat stat
33
34
#ifdef _DEBUG
35
#include <iostream>
36
#include <fstream>
37
using
std::cerr;
38
#endif
39
40
#define UNUSED(x) (x)
41
42
//used by OSX assert macros...
43
#ifdef check
44
#undef check
45
#endif // check
46
47
#endif // LWPP_PLATFORM_H
include
lwpp
platform_osx.h
Generated on Wed Sep 19 2012 18:30:23 for LightWrap++ by
1.8.1.1