Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers...
[reactos.git] / boot / freeldr / tools / hosttype.c
diff --git a/boot/freeldr/tools/hosttype.c b/boot/freeldr/tools/hosttype.c
new file mode 100644 (file)
index 0000000..f3f547b
--- /dev/null
@@ -0,0 +1,21 @@
+/**
+ *
+ * hosttype.c
+ * Copyright (C) 2002 by Brian Palmer <brianp@sginet.com>
+ *
+ */
+
+#include <stdio.h>
+
+int main(int argc, char *argv[])
+{
+#if defined (__DJGPP__)
+    printf("dos\n");
+#elif defined (__WIN32__)
+    printf("win32\n");
+#else
+    printf("linux\n");
+#endif // defined __DJGPP__
+
+    return 0;
+}