summaryrefslogtreecommitdiff
path: root/src/os/macosx
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2012-09-13 18:42:33 +0000
committeryexo <yexo@openttd.org>2012-09-13 18:42:33 +0000
commit1f75f81a417b0f540826ee7c1eeb952b7738b929 (patch)
treef1e132ff2d560893f1d9c6926449eb735969732e /src/os/macosx
parentbd173618173e0cdf6477e1df4f715cc486779828 (diff)
downloadopenttd-1f75f81a417b0f540826ee7c1eeb952b7738b929.tar.xz
(svn r24524) -Fix [FS#5296]: fix some compile problems in mac-only code (__ln__)
Diffstat (limited to 'src/os/macosx')
-rw-r--r--src/os/macosx/G5_detector.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/macosx/G5_detector.cpp b/src/os/macosx/G5_detector.cpp
index ad69a2e43..53d21c4d4 100644
--- a/src/os/macosx/G5_detector.cpp
+++ b/src/os/macosx/G5_detector.cpp
@@ -21,7 +21,7 @@
#endif
/* this function is a lightly modified version of some code from Apple's developer homepage to detect G5 CPUs at runtime */
-main()
+int main()
{
host_basic_info_data_t hostInfo;
mach_msg_type_number_t infoCount;