summaryrefslogtreecommitdiffstats
path: root/llvm/lib/System/Interix/SysConfig.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-08-31 18:03:23 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-08-31 18:03:23 +0000
commitf2531a156865d7f0457bc75c3e2a890cf3617891 (patch)
tree1a704a76665b387286ea7167aa9e5beb04d74191 /llvm/lib/System/Interix/SysConfig.cpp
parentb14809c51dcde9bedcad132e8297a1e73656ff89 (diff)
downloadbcm5719-llvm-f2531a156865d7f0457bc75c3e2a890cf3617891.tar.gz
bcm5719-llvm-f2531a156865d7f0457bc75c3e2a890cf3617891.zip
Add support for Interix and FreeBSD
llvm-svn: 16126
Diffstat (limited to 'llvm/lib/System/Interix/SysConfig.cpp')
-rw-r--r--llvm/lib/System/Interix/SysConfig.cpp27
1 files changed, 27 insertions, 0 deletions
diff --git a/llvm/lib/System/Interix/SysConfig.cpp b/llvm/lib/System/Interix/SysConfig.cpp
new file mode 100644
index 00000000000..a88e344a5e0
--- /dev/null
+++ b/llvm/lib/System/Interix/SysConfig.cpp
@@ -0,0 +1,27 @@
+//===- Interix/SysConfig.cpp - Interix SysConfig Implementation -*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file was developed by Reid Spencer and is distributed under the
+// University of Illinois Open Source License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+//
+// This file provides the Interix specific implementation of the Signals class.
+//
+//===----------------------------------------------------------------------===//
+
+// Include the generic unix implementation
+#include "../Unix/SysConfig.cpp"
+
+namespace llvm {
+using namespace sys;
+
+//===----------------------------------------------------------------------===//
+//=== WARNING: Implementation here must contain only Interix specific code
+//=== and must not be generic UNIX code (see ../Unix/Signals.cpp)
+//===----------------------------------------------------------------------===//
+
+}
+
+// vim: sw=2 smartindent smarttab tw=80 autoindent expandtab
OpenPOWER on IntegriCloud