urbit/nix/nixcrpkgs/pkgs/hello/hello.c
benjamin-tlon edd57d380d
Finish cc-release cross-compilation. (#1202)
- Fixes the IPC bug
- Fixes the terminfo bug
- Moves the OSX SDK out of our nixcrpkgs fork.
- Vendor nixcrpkgs instead of having it be a submodule.
2019-04-23 19:50:38 -07:00

16 lines
217 B
C

#include <stdio.h>
#ifdef _WIN32
#include <windows.h>
#endif
int main(int argc, char ** argv)
{
printf("Hello, World!\n");
#ifdef _WIN32
MessageBoxA(NULL, "Hello, World!", "Hello", MB_OK);
#endif
return 0;
}