/* with gcc-4.4.2 this file is compiled without complains by: gcc -mno-altivec -c buffer.c if '-maltivec' is set compilation fails: gcc -maltivec -c buffer.c -> buffer.c:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘openvpn_thread_enabled’ */ /* including stdbool.h fixes the -maltivec compile issue */ /*#include */ /* bool definitions */ #ifndef bool #warning defining bool #define bool int #endif #ifndef true #define true 1 #endif #ifndef false #define false 0 #endif static inline bool openvpn_thread_enabled (void) { return false; }