summaryrefslogtreecommitdiff
path: root/src/os/macosx
diff options
context:
space:
mode:
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;