ilang  1.1.4
ILAng: A Modeling and Verification Platform for SoCs
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Macros
posix_emu.h
Go to the documentation of this file.
1 // I hate Windows programming
4 // Hongce Zhang (hongcez@princeton.edu)
5 
6 #ifndef ILANG_UTIL_POSIX_EMULATE_H__
7 #define ILANG_UTIL_POSIX_EMULATE_H__
8 
9 #if defined(_WIN32) || defined(_WIN64)
10 #include <stdio.h>
11 #include <stdlib.h>
12 #include <string.h>
13 
14 namespace ilang {
15 
16 FILE *fmemopen(void *buf, size_t size, const char *mode);
17 
18 
19 } // namespace ilang
20 
21 #endif // defined(_WIN32) || defined(_WIN64)
22 
23 #endif // ILANG_UTIL_POSIX_EMULATE_H__
24