Commit bb99c5a8 authored by Jeremy Hylton's avatar Jeremy Hylton

Fix more includes before Python.h.

parent e7f02120
...@@ -7,15 +7,13 @@ ...@@ -7,15 +7,13 @@
positions. positions.
*/ */
#include <string.h>
typedef unsigned char char2[2]; typedef unsigned char char2[2];
typedef unsigned char char6[6]; typedef unsigned char char6[6];
/* Setup template macros */ /* Setup template macros */
#define MASTER_ID "$Id: _fsBTree.c,v 1.4 2002/06/27 00:32:54 tim_one Exp $\n" #define MASTER_ID "$Id: _fsBTree.c,v 1.5 2002/11/13 16:32:03 jeremy Exp $\n"
#define PERSISTENT #define PERSISTENT
...@@ -26,7 +24,7 @@ typedef unsigned char char6[6]; ...@@ -26,7 +24,7 @@ typedef unsigned char char6[6];
/*#include "intkeymacros.h"*/ /*#include "intkeymacros.h"*/
#define KEYMACROS_H "$Id: _fsBTree.c,v 1.4 2002/06/27 00:32:54 tim_one Exp $\n" #define KEYMACROS_H "$Id: _fsBTree.c,v 1.5 2002/11/13 16:32:03 jeremy Exp $\n"
#define KEY_TYPE char2 #define KEY_TYPE char2
#undef KEY_TYPE_IS_PYOBJECT #undef KEY_TYPE_IS_PYOBJECT
#define KEY_CHECK(K) (PyString_Check(K) && PyString_GET_SIZE(K)==2) #define KEY_CHECK(K) (PyString_Check(K) && PyString_GET_SIZE(K)==2)
...@@ -41,7 +39,7 @@ typedef unsigned char char6[6]; ...@@ -41,7 +39,7 @@ typedef unsigned char char6[6];
(STATUS)=0; } (STATUS)=0; }
/*#include "intvaluemacros.h"*/ /*#include "intvaluemacros.h"*/
#define VALUEMACROS_H "$Id: _fsBTree.c,v 1.4 2002/06/27 00:32:54 tim_one Exp $\n" #define VALUEMACROS_H "$Id: _fsBTree.c,v 1.5 2002/11/13 16:32:03 jeremy Exp $\n"
#define VALUE_TYPE char6 #define VALUE_TYPE char6
#undef VALUE_TYPE_IS_PYOBJECT #undef VALUE_TYPE_IS_PYOBJECT
#define TEST_VALUE(K, T) strncmp(K,T,6) #define TEST_VALUE(K, T) strncmp(K,T,6)
......
...@@ -15,16 +15,14 @@ ...@@ -15,16 +15,14 @@
static char TimeStamp_module_documentation[] = static char TimeStamp_module_documentation[] =
"Defines 64-bit TimeStamp objects used as ZODB serial numbers.\n" "Defines 64-bit TimeStamp objects used as ZODB serial numbers.\n"
"\n" "\n"
"\n$Id: TimeStamp.c,v 1.16 2002/10/07 17:54:27 gvanrossum Exp $\n"; "\n$Id: TimeStamp.c,v 1.17 2002/11/13 16:32:03 jeremy Exp $\n";
#include <stdlib.h>
#include <time.h>
#ifdef USE_EXTENSION_CLASS #ifdef USE_EXTENSION_CLASS
#include "ExtensionClass.h" #include "ExtensionClass.h"
#else #else
#include "Python.h" #include "Python.h"
#endif #endif
#include <time.h>
/* ----------------------------------------------------- */ /* ----------------------------------------------------- */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment