Deal with Microsofts attempt at deprecating C standard runtime functions for proprietary ones in Visual Studio 2005

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8847 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2006-02-19 22:16:56 +00:00
commit 6b6147f03b
11 changed files with 25 additions and 30 deletions

View file

@ -14,6 +14,13 @@
#ifndef _DOH_H
#define _DOH_H
#ifndef MACSWIG
#include "swigconfig.h"
#endif
#include <stdio.h>
#include <stdarg.h>
/* Set the namespace prefix for DOH API functions. This can be used to control
visibility of the functions in libraries */
@ -131,9 +138,6 @@
#define DohNext DOH_NAMESPACE(Next)
#endif
#include <stdio.h>
#include <stdarg.h>
#define DOH_MAJOR_VERSION 0
#define DOH_MINOR_VERSION 1

View file

@ -15,6 +15,8 @@
#ifndef _DOHINT_H
#define _DOHINT_H
#include "doh.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
@ -22,8 +24,6 @@
#include <ctype.h>
#include <stdarg.h>
#include "doh.h"
/* Hash objects */
typedef struct {
DOH *(*doh_getattr)(DOH *obj, DOH *name); /* Get attribute */