[PATCH] D13937: [obsequi] Replace non-standard u_intX_t types with the uintX_t ones from stdint.h.

Vasileios Kalintiris via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 10 11:09:16 PST 2015


This revision was automatically updated to reflect the committed changes.
Closed by commit rL252636: [obsequi] Replace non-standard u_intX_t types with the uintX_t ones from… (authored by vkalintiris).

Changed prior to commit:
  http://reviews.llvm.org/D13937?vs=37994&id=39835#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D13937

Files:
  test-suite/trunk/MultiSource/Applications/obsequi/Makefile
  test-suite/trunk/MultiSource/Applications/obsequi/utils.h

Index: test-suite/trunk/MultiSource/Applications/obsequi/utils.h
===================================================================
--- test-suite/trunk/MultiSource/Applications/obsequi/utils.h
+++ test-suite/trunk/MultiSource/Applications/obsequi/utils.h
@@ -10,16 +10,17 @@
 #include <stdlib.h>
 #include <stdio.h>
 #include <string.h>
+#include <stdint.h>
 
 
 //#################################################################
 // Define a couple of types which I like to use.
 //#################################################################
 
-typedef  u_int8_t   u8bit;
-typedef  u_int16_t  u16bit;
-typedef  u_int32_t  u32bit;
-typedef  u_int64_t  u64bit;
+typedef  uint8_t    u8bit;
+typedef  uint16_t   u16bit;
+typedef  uint32_t   u32bit;
+typedef  uint64_t   u64bit;
 
 typedef  int16_t    s16bit;
 typedef  int32_t    s32bit;
Index: test-suite/trunk/MultiSource/Applications/obsequi/Makefile
===================================================================
--- test-suite/trunk/MultiSource/Applications/obsequi/Makefile
+++ test-suite/trunk/MultiSource/Applications/obsequi/Makefile
@@ -9,7 +9,7 @@
 CPPFLAGS += -DHASHCODEBITS=23
 endif
 
-ifneq ($(ARCH),PowerPC)
+ifeq (,$(filter $(ARCH),PowerPC Mips))
 LDFLAGS = -lsupc++
 LIBS += -lsupc++
 endif


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13937.39835.patch
Type: text/x-patch
Size: 1270 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151110/41be0fe0/attachment.bin>


More information about the llvm-commits mailing list