LightWrap++
AC++wrapperfortheLightWave3DSDK
platform_osx_cw.h
Go to the documentation of this file.
1 
5 #ifndef LWPP_PLATFORM_OSX_CW_H
6 #define LWPP_PLATFORM_OSX_CW_H
7 
8 #include <carbonrel.h>
9 #include <ansi_prefix.mac.h>
10 //#include <Carbon.h>
11 #include <Navigation.h>
12 #include <InternetConfig.h>
13 //#include <MacHeadersCarbon.h>
14 #include <stat.h>
15 #include <dirent.h>
16 #include <cstring>
17 #include <cmath>
18 #include <sstream>
19 #include <string>
20 #include <ios>
21 #include <cstdlib>
22 #include <cstdio>
23 #include <unistd.h>
24 #include <TextUtils.h>
25 #include <Folders.h>
26 #include <alloca.h>
27 #define _mkdir(x) mkdir(x)
28 #define _unlink(x) unlink(x)
29 #define _stat stat
30 // MW places all standard C includes in std:: which is correct
31 #define _alloca(x) alloca(x)
32 using _CSTD::size_t;
33 using _CSTD::strlen;
34 using _CSTD::strncmp;
35 using _CSTD::strcpy;
36 using _CSTD::strcmp;
37 using _CSTD::atan2;
38 using _CSTD::sqrt;
39 using _CSTD::abs;
40 using _CSTD::sin;
41 using _CSTD::cos;
42 using _CSTD::sprintf;
43 using _CSTD::fopen;
44 using _CSTD::FILE;
45 using _CSTD::vsprintf;
46 using _CSTD::powf;
47 using _CSTD::pow;
48 using _CSTD::atan;
49 using _CSTD::fabs;
50 using _CSTD::floor;
51 using _CSTD::size_t;
52 using _CSTD::toupper;
53 using _CSTD::tolower;
54 using _CSTD::atoi;
55 using _CSTD::isdigit;
56 
57 #ifdef _DEBUG
58 #include <iostream>
59 #include <fstream>
60 using std::cerr;
61 #endif
62 
63 #endif // LWPP_PLATFORM_OSX_CW_H