From 9778e9feca1842727cbdbf39c74af5d61b31679f Mon Sep 17 00:00:00 2001 From: MarkRivers Date: Wed, 10 May 2006 22:14:56 +0000 Subject: [PATCH] typedef bool to int for C compilers --- motorApp/NewportSrc/XPS_C8_drivers.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/motorApp/NewportSrc/XPS_C8_drivers.h b/motorApp/NewportSrc/XPS_C8_drivers.h index e7fa2e2d..a73e43b0 100644 --- a/motorApp/NewportSrc/XPS_C8_drivers.h +++ b/motorApp/NewportSrc/XPS_C8_drivers.h @@ -1,6 +1,6 @@ -//////////////////////////////////////////////////////////////////// -// Created header file XPS_C8_drivers.h for API headings -// +/* + * Created header file XPS_C8_drivers.h for API headings + */ #ifdef _WIN32 @@ -13,6 +13,9 @@ #define __stdcall #endif +#ifndef __cplusplus +typedef int bool; +#endif #ifdef __cplusplus extern "C"