added platform header file
This commit is contained in:
parent
a6dd2d5dcb
commit
d27f49c968
15
platform.h
Normal file
15
platform.h
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
#ifndef FSFW_PLATFORM_H_
|
||||||
|
#define FSFW_PLATFORM_H_
|
||||||
|
|
||||||
|
#if defined(__unix__) || defined(__unix) || (defined(__APPLE__) && defined(__MACH__))
|
||||||
|
|
||||||
|
#define PLATFORM_UNIX
|
||||||
|
|
||||||
|
#elif defined(_WIN32)
|
||||||
|
|
||||||
|
#define PLATFORM_WIN
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#endif /* FSFW_PLATFORM_H_ */
|
Loading…
Reference in New Issue
Block a user