< prev index next >

src/hotspot/share/utilities/macros.hpp

Print this page
*** 47,10 ***
--- 47,14 ---
  #define PASTE_TOKENS_AUX2(x, y) x ## y
  
  // -DINCLUDE_<something>=0 | 1 can be specified on the command line to include
  // or exclude functionality.
  
+ #ifndef FILE_AND_LINE
+ #define FILE_AND_LINE __FILE__ ":" XSTR(__LINE__)
+ #endif
+ 
  #ifndef INCLUDE_JVMTI
  #define INCLUDE_JVMTI 1
  #endif  // INCLUDE_JVMTI
  
  #if INCLUDE_JVMTI
< prev index next >