added better static support for as3compile
[swftools.git] / lib / as3 / tokenizer.yy.c
index b8b3af7..cbc5598 100644 (file)
@@ -3677,19 +3677,9 @@ static void as3__load_buffer_state  (void)
        as3_free((void *) b  );
 }
 
-#ifndef _UNISTD_H /* assume unistd.h has isatty() for us */
-#ifdef __cplusplus
-extern "C" {
-#endif
-#ifdef __THROW /* this is a gnuism */
-extern int isatty (int ) __THROW;
-#else
+#ifndef __cplusplus
 extern int isatty (int );
-#endif
-#ifdef __cplusplus
-}
-#endif
-#endif
+#endif /* __cplusplus */
     
 /* Initializes or reinitializes a buffer.
  * This function is sometimes called more than once on the same buffer,