r40: made c++ compatible
[ctsim.git] / include / kstddef.h
index 5634ef9862be74f2be521f27e95803feb6b5408d..4a5771c267cf3c180afd8f4062d8facce562941e 100644 (file)
@@ -2,8 +2,11 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
-**  $Id: kstddef.h,v 1.6 2000/05/03 19:51:41 kevin Exp $
+**  $Id: kstddef.h,v 1.7 2000/05/07 12:46:19 kevin Exp $
 **  $Log: kstddef.h,v $
+**  Revision 1.7  2000/05/07 12:46:19  kevin
+**  made c++ compatible
+**
 **  Revision 1.6  2000/05/03 19:51:41  kevin
 **  function renaming for phantoms and phantom elements
 **
 #ifndef STDDEF_H
 #define STDDEF_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
@@ -233,4 +241,8 @@ char *td_str_cdate(DATE *d);
 char *td_month_name(int n);
 char *td_day_name(int n);
 
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
 #endif