2009-12-15 Tristan Gingold <gingold@adacore.com>
[binutils-gdb.git] / bfd / vms.h
index 0d6e21557cd878db9d8184e83106c049cd4c9d28..4bde72b8e9be452f24c70b89788907b5247ee11c 100644 (file)
--- a/bfd/vms.h
+++ b/bfd/vms.h
@@ -854,8 +854,11 @@ struct evax_private_udata_struct
 #if VMS_DEBUG                           
 extern void _bfd_vms_debug (int, char *, ...) ATTRIBUTE_PRINTF_2;
 extern void _bfd_hexdump   (int, unsigned char *, int, int);
-                                        
-#define vms_debug _bfd_vms_debug        
+
+#define vms_debug _bfd_vms_debug
+#define vms_debug2(X) _bfd_vms_debug X
+#else
+#define vms_debug2(X)
 #endif                                  
                                         
 extern struct bfd_hash_entry * _bfd_vms_hash_newfunc (struct bfd_hash_entry *, struct bfd_hash_table *, const char *);