From: curt Date: Tue, 16 Mar 2004 20:44:00 +0000 (+0000) Subject: Add extern "C" wrappers. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=fe7321e91e7610767a5491eba964079a0f5c8d1f;p=flightgear.git Add extern "C" wrappers. --- diff --git a/src/FDM/UIUCModel/uiuc_auto_pilot.h b/src/FDM/UIUCModel/uiuc_auto_pilot.h index b2ef4ce02..8f4c3ffd5 100644 --- a/src/FDM/UIUCModel/uiuc_auto_pilot.h +++ b/src/FDM/UIUCModel/uiuc_auto_pilot.h @@ -9,8 +9,16 @@ #include #include /* 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_