summaryrefslogtreecommitdiff
path: root/marshal.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-01-15 06:29:05 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-01-15 06:29:05 +0000
commit08771defc6bec4eedb0d90f5819212121530e6ad (patch)
tree345ff5618c9f765fcba576b5874d66eed038c9d1 /marshal.c
parent17bb511df2d33f4c344d7aefc2f5dfcd53fdaaf7 (diff)
* configure.in (ARCHFILE): set even unless --enable-shared on
AIX. [ruby-talk:61466] * marshal.c (math.h): should be included after ruby.h on AIX. [ruby-talk:61366] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'marshal.c')
-rw-r--r--marshal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/marshal.c b/marshal.c
index 1ea320fb5b..b324e059d5 100644
--- a/marshal.c
+++ b/marshal.c
@@ -10,13 +10,13 @@
**********************************************************************/
-#include <math.h>
-
#include "ruby.h"
#include "rubyio.h"
#include "st.h"
#include "util.h"
+#include <math.h>
+
#define BITSPERSHORT (2*CHAR_BIT)
#define SHORTMASK ((1<<BITSPERSHORT)-1)
#define SHORTDN(x) RSHIFT(x,BITSPERSHORT)