Move conditional inclusion of stdarg.h after conditional define of CAC_ANSI_FUNC_PROTO.
This commit is contained in:
@@ -22,15 +22,6 @@
|
||||
* auto include of all stuff that cadef.h uses
|
||||
*/
|
||||
|
||||
/*
|
||||
* use two ifdef's for trad C compatibility
|
||||
*/
|
||||
#ifndef CA_DONT_INCLUDE_STDARGH
|
||||
#ifdef CAC_ANSI_FUNC_PROTO
|
||||
#include <stdarg.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include "caerr.h"
|
||||
#include "db_access.h"
|
||||
#include "caeventmask.h"
|
||||
@@ -50,6 +41,11 @@ extern "C" {
|
||||
#define CAC_ANSI_FUNC_PROTO
|
||||
#endif
|
||||
#endif
|
||||
#ifndef CA_DONT_INCLUDE_STDARGH
|
||||
#ifdef CAC_ANSI_FUNC_PROTO
|
||||
#include <stdarg.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
typedef void *chid;
|
||||
typedef chid chanId; /* for when the structures field name is "chid" */
|
||||
|
||||
Reference in New Issue
Block a user