[hipl-commit] [trunk] Rev 4384: Remove hack for missing Linux-specific integer types.

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: hipl-commit@xxxxxxxxxxxxx
  • Date: Wed, 21 Apr 2010 17:19:16 +0300

Committer: Diego Biurrun <diego@xxxxxxxxxx>
Date: 21/04/2010 at 17:19:16
Revision: 4384
Revision-id: diego@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Branch nick: trunk

Log:
  Remove hack for missing Linux-specific integer types.
  
  If this turns out to remain a problem after the upcoming round of header
  #include changes, I will come up with a proper solution.

Modified:
  M  lib/tool/nlink.h

=== modified file 'lib/tool/nlink.h'
--- lib/tool/nlink.h    2010-04-13 10:59:42 +0000
+++ lib/tool/nlink.h    2010-04-21 14:18:05 +0000
@@ -6,12 +6,6 @@
 #include <net/if.h>
 #include <netinet/in.h>
 #include <linux/netlink.h>
-/* CentOS 5.4 and some other legacy systems are broken. Including
-   linux/rtnetlink.h complains that __uint32_t or __64 is undefine */
-#ifndef __uint32_t
-#define __uint32_t uint32_t
-#define __u64 uint64_t
-#endif /* __uint32_t */
 #include <linux/xfrm.h>
 #include <linux/rtnetlink.h>

Other related posts:

  • » [hipl-commit] [trunk] Rev 4384: Remove hack for missing Linux-specific integer types. - Diego Biurrun