Well, this not really a tcc bug but a MS one. When you compile with tcc 64bit on Windows, difftime compiles to difftime64 which is sometime missing form msvcrt.dll (it seems that msvcrt.dll from WS2005 has this issue which looks to be fixed in WS2008).
For me, #if defined( __TINYC__ ) && defined( _WIN64 ) #define difftime(x, y) (x - y) #else // other cases #endif Works. I don't known how you want to handle this issue. Christian _______________________________________________ Tinycc-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/tinycc-devel
