Ignore:
Timestamp:
Feb 15, 2012, 5:20:05 PM (14 years ago)
Author:
dmik
Message:

Use TARGET_COMPILER_gcc instead of EMX when appropriate.

Location:
trunk/openjdk/hotspot/src/os/windows/vm
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/openjdk/hotspot/src/os/windows/vm/attachListener_windows.cpp

    r309 r315  
    151151
    152152 public:
    153 #ifdef __EMX__
     153#ifdef TARGET_COMPILER_gcc
    154154  void complete(jint result, bufferedStream* result_stream);
    155155#else
  • trunk/openjdk/hotspot/src/os/windows/vm/os_windows.cpp

    r309 r315  
    34993499  void *code_ptr = (void *)code;
    35003500  __try {
    3501 #ifdef __EMX__
     3501#ifdef TARGET_COMPILER_gcc
    35023502    __asm__("call *%0" : : "m"(code_ptr));
    35033503#else
     
    36063606#ifndef  _WIN64
    36073607    static long fp_control_word = 0;
    3608 #ifdef __EMX__
     3608#ifdef TARGET_COMPILER_gcc
    36093609    __asm__("fstcw %0" : "=m"(fp_control_word));
    36103610#else
     
    36193619    const long invalid   = 0x01;
    36203620    fp_control_word |= invalid;
    3621 #ifdef __EMX__
     3621#ifdef TARGET_COMPILER_gcc
    36223622    __asm__("fldcw %0" : : "m"(fp_control_word));
    36233623#else
  • trunk/openjdk/hotspot/src/os/windows/vm/os_windows.inline.hpp

    r313 r315  
    4343inline const char* os::dll_file_extension()            { return ".dll"; }
    4444
    45 #ifdef __EMX__
     45#ifdef TARGET_COMPILER_gcc
    4646inline const char* os::jlong_format_specifier()        { return "%lld"; }
    4747inline const char* os::julong_format_specifier()       { return "%llu"; }
Note: See TracChangeset for help on using the changeset viewer.