]> git.mxchange.org Git - flightgear.git/commitdiff
Updates for cygwin
authortony <tony>
Sat, 23 Nov 2002 15:33:01 +0000 (15:33 +0000)
committertony <tony>
Sat, 23 Nov 2002 15:33:01 +0000 (15:33 +0000)
src/FDM/JSBSim/FGTrim.h

index 0b207ec2033b279a122e445805ddb5b0c3d0f2ae..4a75f5905bf40df8d158ed337ac0ecafdab2d25e 100644 (file)
@@ -66,8 +66,8 @@ typedef enum { tLongitudinal, tFull, tGround, tPullup,
                tCustom, tNone, tTurn 
              } TrimMode;
 
-#ifdef _WIN32
-#define snprintf _snprintf
+#if defined(_WIN32) && !defined(__CYGWIN__)
+  #define snprintf _snprintf
 #endif
 
 /*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%