Borland C++ build doesn't depend on Cygwin configure
[fw/sdcc] / sdcc_vc_in.h
index bcd19cd6d1cb88468010c4c37d4ec2757cff4098..8115eb91327293bde72ce0b5184da25883e8018a 100644 (file)
@@ -7,10 +7,8 @@
 #undef SDCC_VERSION_P
 #undef SDCC_VERSION_STR
 
-/* MSVC 6 does not have __FUNCTION__ preprocessor macro defined */
-
-#if defined(_MSC_VER) && (_MSC_VER < 1300)
-#define __FUNCTION__ __FILE__
+#ifndef __FUNCTION__
+#define __FUNCTION__  __FILE__
 #endif
 
 #undef PREFIX