< prev index next >

src/java.instrument/unix/native/libinstrument/EncodingSupport_md.c

Print this page
rev 52923 : 8226346: Build better binary builders
Reviewed-by: andrew

@@ -31,17 +31,12 @@
 #include <langinfo.h>
 #include <iconv.h>
 
 /* Routines to convert back and forth between Platform Encoding and UTF-8 */
 
-/* Use THIS_FILE when it is available. */
-#ifndef THIS_FILE
-    #define THIS_FILE __FILE__
-#endif
-
 /* Error and assert macros */
-#define UTF_ERROR(m) utfError(THIS_FILE, __LINE__,  m)
+#define UTF_ERROR(m) utfError(__FILE__, __LINE__,  m)
 #define UTF_ASSERT(x) ( (x)==0 ? UTF_ERROR("ASSERT ERROR " #x) : (void)0 )
 #define UTF_DEBUG(x)
 
 /* Global variables */
 static iconv_t iconvToPlatform          = (iconv_t)-1;
< prev index next >