reactos/freeldr/tools/hosttype.c
Brian Palmer 63ea3fb94c Cross-platform tools added to Makefiles.
svn path=/trunk/; revision=3061
2002-06-13 00:39:49 +00:00

20 lines
290 B
C

//
// 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;
}