]> git.mxchange.org Git - flightgear.git/commitdiff
Wrap with extern "C" { } if building with __cplusplus compiler.
authorcurt <curt>
Thu, 22 Apr 1999 18:47:25 +0000 (18:47 +0000)
committercurt <curt>
Thu, 22 Apr 1999 18:47:25 +0000 (18:47 +0000)
Simulator/FDM/LaRCsim/ls_cockpit.h

index 1ac8e63eee61ebab7e01335c8bb58c371cb1e207..f315b08dde25d13faaf6e228b1e39497dc2ee24e 100644 (file)
 
 $Header$
 $Log$
-Revision 1.1  1999/04/05 21:32:45  curt
-Initial revision
+Revision 1.2  1999/04/22 18:47:25  curt
+Wrap with extern "C" { } if building with __cplusplus compiler.
+
+Revision 1.1.1.1  1999/04/05 21:32:45  curt
+Start of 0.6.x branch.
 
 Revision 1.5  1998/10/17 01:34:14  curt
 C++ ifying ...
@@ -70,6 +73,9 @@ Initial Flight Gear revision.
 #ifndef _LS_COCKPIT_H
 #define _LS_COCKPIT_H
 
+#ifdef __cplusplus
+extern "C" { 
+#endif
 
 typedef struct {
     float   long_stick, lat_stick, rudder_pedal;
@@ -104,4 +110,8 @@ extern COCKPIT cockpit_;
 #define Brake_pct       cockpit_.brake_pct
 
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* _LS_COCKPIT_H */