[add fix for compiling on MacOSX, thanks to Mark Wotton.
John Meacham <john@repetae.net>**20090819041030
 Ignore-this: bdaeb7fde521f98e4580bca36b6b74d3
] addfile ./examples/Options.hs
hunk ./examples/Options.hs 1
+
+import Jhc.Options
+import Text.Printf
+
+main :: IO ()
+main = do
+    printf "isWindows:      %s\n" (show isWindows)
+    printf "isPosix:        %s\n" (show isPosix)
+    printf "isBigEndian:    %s\n" (show isBigEndian)
+    printf "isLittleEndian: %s\n" (show isLittleEndian)
+    printf "Target:         %s\n" (show target)
+
+
+instance Show Target where
+    show Grin = "Grin"
+    show GhcHs = "GhcHs"
+    show DotNet = "DotNet"
+    show Java = "Java"
hunk ./src/data/rts/jhc_rts_header.h 17
-#include <endian.h>
+#include <sys/types.h>
+#include <sys/param.h>