Commit 216b8342 authored by Jim Fulton's avatar Jim Fulton

ifdefed windows includes.

parent a95df264
...@@ -82,10 +82,12 @@ ...@@ -82,10 +82,12 @@
file. file.
****************************************************************************/ ****************************************************************************/
static char *what_string = "$Id: winlock.c,v 1.1 1999/02/05 00:35:47 jim Exp $"; static char *what_string = "$Id: winlock.c,v 1.2 1999/02/05 00:41:51 jim Exp $";
#ifdef MS_WIN32
#include <windows.h> #include <windows.h>
#include <io.h> #include <io.h>
#endif
#include "Python.h" #include "Python.h"
static PyObject *Error; static PyObject *Error;
...@@ -134,7 +136,7 @@ static struct PyMethodDef methods[] = { ...@@ -134,7 +136,7 @@ static struct PyMethodDef methods[] = {
DL_EXPORT(void) DL_EXPORT(void)
initwinlock() { initwinlock() {
PyObject *m, *d; PyObject *m, *d;
char *rev="$Revision: 1.1 $"; char *rev="$Revision: 1.2 $";
if (! (Error=PyString_FromString("winlock.error"))) return; if (! (Error=PyString_FromString("winlock.error"))) return;
......
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