summaryrefslogtreecommitdiff
path: root/ext/socket/constants.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-17 10:19:03 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-17 10:19:03 +0000
commit28028fc2b92dfe13b4e53cb0db5ece74064e76a6 (patch)
treea1fe01f9ba97b0ccecb3ec6543bc61d162810c8a /ext/socket/constants.c
parent29aff19f1ab92bd9a4fc891fcaed5b6b4bb18cb6 (diff)
* ext/socket/mkconstants.rb: generate a header file for generated
functions. * ext/socket/rubysocket.h: include constdefs.h. don't declare generated functions. * ext/socket/constants.c: include constdefs.c instead of constants.h. * ext/socket/depend: dependency updated. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/socket/constants.c')
-rw-r--r--ext/socket/constants.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/socket/constants.c b/ext/socket/constants.c
index 7b02abe..273b8d6 100644
--- a/ext/socket/constants.c
+++ b/ext/socket/constants.c
@@ -14,7 +14,7 @@ static void sock_define_const(const char *name, int value, VALUE mConst);
static void sock_define_uconst(const char *name, unsigned int value, VALUE mConst);
#define sock_define_const(name, value) sock_define_const(name, value, mConst)
#define sock_define_uconst(name, value) sock_define_uconst(name, value, mConst)
-#include "constants.h"
+#include "constdefs.c"
#undef sock_define_const
#undef sock_define_uconst