hce-node application  1.4.3
HCE Hierarchical Cluster Engine node application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
cf_base_types.h
Go to the documentation of this file.
1 /*
2  * Copyright 2013 Aerospike. All rights reserved.
3  */
4 
5 #pragma once
6 
7 #ifndef CF_WINDOWS
8 //====================================================================
9 // Linux
10 //
11 
12 // A real pity that Linux requires this for bool, true & false:
13 #include <stdbool.h>
14 
15 // Use alloca() instead of variable-sized stack arrays for non-gcc portability.
16 #include <alloca.h>
17 
18 
19 #else // CF_WINDOWS
20 //====================================================================
21 // Windows
22 //
23 
24 // For alloca():
25 #include <malloc.h>
26 
27 
28 #endif // CF_WINDOWS