summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-10-02 07:48:42 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-10-02 07:48:42 +0000
commit846ce3e7cec9b173d8d5c4808f84dd75947bb101 (patch)
tree9e3660449780967673d6a687f00329710e899537 /main.c
parent46b28a7b44ea1ecfdb5698f3c500790908f58bc1 (diff)
downloadruby-846ce3e7cec9b173d8d5c4808f84dd75947bb101.tar.gz
ruby-846ce3e7cec9b173d8d5c4808f84dd75947bb101.tar.xz
ruby-846ce3e7cec9b173d8d5c4808f84dd75947bb101.zip
matz
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'main.c')
-rw-r--r--main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/main.c b/main.c
index bea1f49a8..9e2c05cea 100644
--- a/main.c
+++ b/main.c
@@ -28,6 +28,11 @@ int _CRT_glob = 0;
#include <console.h>
#endif
+/* to link startup code with ObjC support */
+#if defined(__APPLE__) && defined(__MACH__)
+static void objcdummyfunction( void ) { objc_msgSend(); }
+#endif
+
int
main(argc, argv, envp)
int argc;