1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-24 23:19:09 +00:00

(svn r2741) -Feature: [OSX] added a window to display asserts on OSX (Tobin)

This commit is contained in:
bjarni
2005-07-28 21:47:41 +00:00
parent 8677020a8b
commit a2a5593fcc
4 changed files with 32 additions and 3 deletions

View File

@@ -20,10 +20,16 @@
#endif
#include <stdio.h>
#include <assert.h>
#include <string.h>
#include <stdlib.h>
// MacOS X will use an NSAlert to display failed assertaions since they're lost unless running from a terminal
#if !defined(__APPLE__)
#include <assert.h>
#else
#include "os/macosx/macos.h"
#endif
#if defined(UNIX) || defined(__MINGW32__)
# include <sys/types.h>
#endif