[llvm-commits] CVS: llvm-test/MultiSource/Benchmarks/MallocBench/make/arscan.c job.c make.h misc.c read.c
Jeff Cohen
jeffc at jolt-lang.org
Mon Apr 17 10:55:57 PDT 2006
Changes in directory llvm-test/MultiSource/Benchmarks/MallocBench/make:
arscan.c updated: 1.4 -> 1.5
job.c updated: 1.4 -> 1.5
make.h updated: 1.4 -> 1.5
misc.c updated: 1.4 -> 1.5
read.c updated: 1.5 -> 1.6
---
Log message:
Add checks for __OpenBSD__.
---
Diffs of the changes: (+11 -8)
arscan.c | 5 +++--
job.c | 4 ++--
make.h | 5 +++--
misc.c | 2 +-
read.c | 3 ++-
5 files changed, 11 insertions(+), 8 deletions(-)
Index: llvm-test/MultiSource/Benchmarks/MallocBench/make/arscan.c
diff -u llvm-test/MultiSource/Benchmarks/MallocBench/make/arscan.c:1.4 llvm-test/MultiSource/Benchmarks/MallocBench/make/arscan.c:1.5
--- llvm-test/MultiSource/Benchmarks/MallocBench/make/arscan.c:1.4 Tue Jul 20 13:24:33 2004
+++ llvm-test/MultiSource/Benchmarks/MallocBench/make/arscan.c Mon Apr 17 12:55:40 2006
@@ -38,7 +38,8 @@
#endif
#if (defined(STDC_HEADERS) || defined(__GNU_LIBRARY__) || \
- defined(POSIX)) || defined(__FreeBSD__) || defined(__APPLE__)
+ defined(POSIX)) || defined(__FreeBSD__) || defined(__OpenBSD__) || \
+ defined(__APPLE__)
#include <stdlib.h>
#include <string.h>
#define ANSI_STRING
@@ -94,7 +95,7 @@
#endif
#if defined(__GNU_LIBRARY__) || defined(POSIX) || defined(_IBMR2) || \
- defined(__FreeBSD__) || defined(__APPLE__)
+ defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__APPLE__)
#include <unistd.h>
#else
extern int read (), open (), close (), write (), fstat ();
Index: llvm-test/MultiSource/Benchmarks/MallocBench/make/job.c
diff -u llvm-test/MultiSource/Benchmarks/MallocBench/make/job.c:1.4 llvm-test/MultiSource/Benchmarks/MallocBench/make/job.c:1.5
--- llvm-test/MultiSource/Benchmarks/MallocBench/make/job.c:1.4 Tue Jul 20 13:24:33 2004
+++ llvm-test/MultiSource/Benchmarks/MallocBench/make/job.c Mon Apr 17 12:55:40 2006
@@ -31,7 +31,7 @@
char default_shell[] = "/bin/sh";
#if defined(POSIX) || defined(__GNU_LIBRARY__) || defined(__FreeBSD__) || \
- defined(__APPLE__)
+ defined(__OpenBSD__) || defined(__APPLE__)
#include <limits.h>
#include <unistd.h>
#define GET_NGROUPS_MAX sysconf (_SC_NGROUPS_MAX)
@@ -102,7 +102,7 @@
#if defined(__GNU_LIBRARY__) || defined(POSIX) || defined(__CYGWIN__) || \
- defined(__FreeBSD__) || defined(__APPLE__)
+ defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__APPLE__)
#include <sys/types.h>
#define GID_T gid_t
Index: llvm-test/MultiSource/Benchmarks/MallocBench/make/make.h
diff -u llvm-test/MultiSource/Benchmarks/MallocBench/make/make.h:1.4 llvm-test/MultiSource/Benchmarks/MallocBench/make/make.h:1.5
--- llvm-test/MultiSource/Benchmarks/MallocBench/make/make.h:1.4 Tue Jul 20 13:24:33 2004
+++ llvm-test/MultiSource/Benchmarks/MallocBench/make/make.h Mon Apr 17 12:55:40 2006
@@ -83,7 +83,8 @@
#if (defined(STDC_HEADERS) || defined(__GNU_LIBRARY__) || \
- defined(POSIX) || defined(__FreeBSD__) || defined(__APPLE__))
+ defined(POSIX) || defined(__FreeBSD__) || defined(__APPLE__) \
+ defined(__OpenBSD__))
#include <stdlib.h>
#include <string.h>
#define ANSI_STRING
@@ -216,7 +217,7 @@
#endif /* USG and don't have vfork. */
#if defined(__GNU_LIBRARY__) || defined(POSIX) || defined(__CYGWIN__) || \
- defined(__FreeBSD__) || defined(__APPLE__)
+ defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__APPLE__)
#include <unistd.h>
#include <signal.h>
Index: llvm-test/MultiSource/Benchmarks/MallocBench/make/misc.c
diff -u llvm-test/MultiSource/Benchmarks/MallocBench/make/misc.c:1.4 llvm-test/MultiSource/Benchmarks/MallocBench/make/misc.c:1.5
--- llvm-test/MultiSource/Benchmarks/MallocBench/make/misc.c:1.4 Tue Jul 20 13:24:33 2004
+++ llvm-test/MultiSource/Benchmarks/MallocBench/make/misc.c Mon Apr 17 12:55:40 2006
@@ -477,7 +477,7 @@
#endif
#if !defined(POSIX) && !defined(__GNU_LIBRARY__) && !defined(__CYGWIN__) && \
- !defined(__FreeBSD__) && !defined(__APPLE__)
+ !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__APPLE__)
extern int getuid (), getgid (), geteuid (), getegid ();
#ifdef USG
extern int setuid (), setgid ();
Index: llvm-test/MultiSource/Benchmarks/MallocBench/make/read.c
diff -u llvm-test/MultiSource/Benchmarks/MallocBench/make/read.c:1.5 llvm-test/MultiSource/Benchmarks/MallocBench/make/read.c:1.6
--- llvm-test/MultiSource/Benchmarks/MallocBench/make/read.c:1.5 Tue Sep 28 12:24:36 2004
+++ llvm-test/MultiSource/Benchmarks/MallocBench/make/read.c Mon Apr 17 12:55:40 2006
@@ -23,7 +23,8 @@
/* This is POSIX.2, but most systems using -DPOSIX probably don't have it. */
#if defined(__GNU_LIBRARY__) || defined(__CYGWIN__) || defined(__FreeBSD__) || \
- defined(__APPLE__) || (defined(__sun__) && defined(__svr4__))
+ defined(__OpenBSD__) || defined(__APPLE__) || \
+ (defined(__sun__) && defined(__svr4__))
#include <glob.h>
#else
#include "glob/glob.h"
More information about the llvm-commits
mailing list