slackbuilds_ponce/network/leafnode/sizeof_fix.diff

13 lines
391 B
Diff
Raw Normal View History

--- a/system.h 2008-12-29 22:24:30.000000000 +1100
+++ b/system.h 2010-05-26 19:39:22.376358080 +1000
@@ -20,9 +20,6 @@
#include <inttypes.h>
#elif HAVE_STDINT_H
#include <stdint.h>
-#elif sizeof(unsigned long) == 4 && sizeof(unsigned char) == 1
-typedef unsigned long uint32_t;
-typedef unsigned char uint8_t;
#else
#error "I cannot figure how to define uint32_t and uint8_t."
#endif