gecko-dev/chimera/main.m

18 lines
365 B
Mathematica
Raw Normal View History

2002-04-20 02:40:57 +00:00
#import <Cocoa/Cocoa.h>
static void SetupRuntimeOptions(int argc, const char *argv[])
{
if (getenv("MOZ_UNBUFFERED_STDIO")) {
printf("stdout and stderr unbuffered\n");
setbuf(stdout, 0);
setbuf(stderr, 0);
}
}
2002-04-20 02:40:57 +00:00
int main(int argc, const char *argv[])
{
SetupRuntimeOptions(argc, argv);
2002-04-20 02:40:57 +00:00
return NSApplicationMain(argc, argv);
}