--- a/src/helpers.hpp Mon Feb 19 20:10:46 2007 +0000
+++ b/src/helpers.hpp Mon Feb 19 21:11:44 2007 +0000
@@ -6,8 +6,6 @@
/** @file helpers.hpp */
#include "macros.h"
-#ifdef __cplusplus
-
/** When allocating using malloc/calloc in C++ it is usually needed to cast the return value
* from void* to the proper pointer type. Another alternative would be MallocT<> as follows */
template <typename T> FORCEINLINE T* MallocT(size_t num_elements)
@@ -161,12 +159,4 @@
return (T)val;
}
-#else // __cplusplus
-
-#define DECLARE_POSTFIX_INCREMENT(E)
-#define DECLARE_ENUM_AS_BIT_SET(E)
-#define DECLARE_ENUM_AS_BIT_INDEX(E1,E2)
-
-#endif // __cplusplus
-
#endif /* HELPERS_HPP */