summaryrefslogtreecommitdiff
path: root/src/os
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-03-15 00:32:18 +0000
committerrubidium <rubidium@openttd.org>2009-03-15 00:32:18 +0000
commitb25a4f8231f3ded44038ea454a3d4c6a2dc9217d (patch)
tree776122508c686680b9c97f37ba3cb92ef905d67f /src/os
parentd72273d1f3b55df0e301408d630f24ef92ea8479 (diff)
downloadopenttd-b25a4f8231f3ded44038ea454a3d4c6a2dc9217d.tar.xz
(svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too
Diffstat (limited to 'src/os')
-rw-r--r--src/os/macosx/G5_detector.cpp2
-rw-r--r--src/os/macosx/macos.h4
-rw-r--r--src/os/macosx/osx_stdafx.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/os/macosx/G5_detector.cpp b/src/os/macosx/G5_detector.cpp
index 00c46e859..01dcd8c20 100644
--- a/src/os/macosx/G5_detector.cpp
+++ b/src/os/macosx/G5_detector.cpp
@@ -13,7 +13,7 @@
#define CPU_SUBTYPE_POWERPC_970 ((cpu_subtype_t) 100)
#endif
-// this function is a lightly modified version of some code from Apple's developer homepage to detect G5 CPUs at runtime
+/* this function is a lightly modified version of some code from Apple's developer homepage to detect G5 CPUs at runtime */
main()
{
host_basic_info_data_t hostInfo;
diff --git a/src/os/macosx/macos.h b/src/os/macosx/macos.h
index 7b579e728..82f1db4c9 100644
--- a/src/os/macosx/macos.h
+++ b/src/os/macosx/macos.h
@@ -31,8 +31,8 @@ void ShowMacDialog ( const char *title, const char *message, const char *buttonL
void ShowMacAssertDialog ( const char *function, const char *file, const int line, const char *expression );
void ShowMacErrorDialog(const char *error);
-// Since MacOS X users will never see an assert unless they started the game from a terminal
-// we're using a custom assert(e) macro.
+/* Since MacOS X users will never see an assert unless they started the game from a terminal
+ * we're using a custom assert(e) macro. */
#undef assert
#ifdef NDEBUG
diff --git a/src/os/macosx/osx_stdafx.h b/src/os/macosx/osx_stdafx.h
index ef33b3c9d..e8589b61f 100644
--- a/src/os/macosx/osx_stdafx.h
+++ b/src/os/macosx/osx_stdafx.h
@@ -6,7 +6,7 @@
#define MACOS_STDAFX_H
#include <CoreServices/CoreServices.h>
-// remove the variables that CoreServices defines, but we define ourselves too
+/* remove the variables that CoreServices defines, but we define ourselves too */
#undef bool
#undef false
#undef true