slackbuilds_ponce/network/leafnode/sizeof_fix.diff
Andrew Strong dd10c3dbae Revert network/leafnode and fix build on 13.1
This reverts commit c7a4ca9c45
    and adds a patch to fix compilation on 13.1.
2010-05-26 23:57:57 -05:00

12 lines
391 B
Diff

--- 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