]> git.mxchange.org Git - flightgear.git/commitdiff
Add extern "C" wrappers.
authorcurt <curt>
Tue, 16 Mar 2004 20:44:00 +0000 (20:44 +0000)
committercurt <curt>
Tue, 16 Mar 2004 20:44:00 +0000 (20:44 +0000)
src/FDM/UIUCModel/uiuc_auto_pilot.h

index b2ef4ce02790cfbedf7d13fa2a8a65844c2d3df1..8f4c3ffd53dccd52b281f19c95eebbbe4f220833 100644 (file)
@@ -9,8 +9,16 @@
 #include <FDM/LaRCsim/ls_generic.h>
 #include <FDM/LaRCsim/ls_constants.h>   /* RAD_TO_DEG, DEG_TO_RAD*/
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 extern double Simtime;
 
+#ifdef __cplusplus
+}
+#endif
+
 void uiuc_auto_pilot(double dt);
 
 #endif // _AUTO_PILOT_H_