drop #include <frontend/variable.h>, (even for non MSC_VER)

This commit is contained in:
rlar 2010-07-20 19:10:51 +00:00
parent a49d446826
commit 3942bc2ade
2 changed files with 6 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2010-07-20 Robert Larice
* src/tclspice.c :
drop #include <frontend/variable.h>, (even for non MSC_VER)
2010-07-20 Robert Larice
* src/main.c :
fix an incorrect type, (&char versus &bool)
@ -27,7 +31,7 @@
allow cp_getvar(,CP_BOOL,NULL) to avoid insane usage
The third parameter is a pointer to the result value.
Frequently only the function return value is used,
(presence of nonpresence of the variable)
(presence or nonpresence of the variable)
and the third parameter points to an unused variable.
Even worse, in several cases a dummy variable of incorrect type is used
for that purpose.

View File

@ -94,9 +94,7 @@ typedef pthread_t threadId_t;
#include <misc/ivars.h>
#include <frontend/resource.h>
#include <frontend/com_measure2.h>
#ifndef _MSC_VER /* avoid second definition of CP_BOOL */
#include <frontend/variable.h>
#else
#ifdef _MSC_VER
#include <stdio.h>
#define snprintf _snprintf
#endif