From: <sil...@li...> - 2003-02-03 07:27:56
|
Update of /cvsroot/silgraphite/silgraphite/include In directory sc8-pr-cvs1:/tmp/cvs-serv3036 Modified Files: UtilRect.h Log Message: wrap the c++ code inside #ifdef __cplusplus so c file could include it Index: UtilRect.h =================================================================== RCS file: /cvsroot/silgraphite/silgraphite/include/UtilRect.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- UtilRect.h 11 Nov 2002 23:43:57 -0000 1.3 +++ UtilRect.h 3 Feb 2003 07:27:53 -0000 1.4 @@ -16,7 +16,6 @@ #ifndef UtilRect_H #define UtilRect_H 1 -//#include "UtilInt.h" #if !defined(_WINDEF_) && !defined(_WINDEF_H) @@ -36,6 +35,8 @@ #endif +#ifdef __cplusplus + /*---------------------------------------------------------------------------------------------- Point class. This derives from POINT so it can be used in Win32 calls. ----------------------------------------------------------------------------------------------*/ @@ -569,6 +570,7 @@ } }; +#endif /* _cplusplus */ -#endif // !UtilRect_H +#endif /* !UtilRect_H */ |