XWorkstation.st
changeset 2422 6bffcb4c8360
parent 2386 102db396aa42
child 2426 7cb649f45f93
equal deleted inserted replaced
2421:037f43af3b0e 2422:6bffcb4c8360
    59 
    59 
    60 #ifdef memset
    60 #ifdef memset
    61 # undef memset
    61 # undef memset
    62 #endif
    62 #endif
    63 
    63 
    64 #ifdef __openVMS__
    64 #if defined(__openVMS__) || defined(LINUX)
       
    65   /*            
       
    66    * mhmh - used in stdio ...
       
    67    * (new linuxes)
       
    68    */           
    65 # undef __new
    69 # undef __new
    66 #endif
    70 # define __NEED_REDEF_new__
       
    71 #endif  
    67 
    72 
    68 #include <stdio.h>
    73 #include <stdio.h>
    69 #include <X11/Xlib.h>
    74 #include <X11/Xlib.h>
    70 #include <X11/Xutil.h>
    75 #include <X11/Xutil.h>
    71 #include <X11/Xatom.h>
    76 #include <X11/Xatom.h>
    75 
    80 
    76 #include <X11/cursorfont.h>
    81 #include <X11/cursorfont.h>
    77 
    82 
    78 #ifdef LINUX
    83 #ifdef LINUX
    79 # include <sys/socket.h>
    84 # include <sys/socket.h>
       
    85 #endif
       
    86 
       
    87 #ifdef __NEED_REDEF_new__
       
    88 # define __new  __STX___new
    80 #endif
    89 #endif
    81 
    90 
    82 /*
    91 /*
    83  * this define suppresses XAllocColor/XFreeColor on
    92  * this define suppresses XAllocColor/XFreeColor on
    84  * TrueColor systems - I am not certain, if this is
    93  * TrueColor systems - I am not certain, if this is
 10045 ! !
 10054 ! !
 10046 
 10055 
 10047 !XWorkstation class methodsFor:'documentation'!
 10056 !XWorkstation class methodsFor:'documentation'!
 10048 
 10057 
 10049 version
 10058 version
 10050     ^ '$Header: /cvs/stx/stx/libview/XWorkstation.st,v 1.297 1998-10-02 10:52:04 cg Exp $'
 10059     ^ '$Header: /cvs/stx/stx/libview/XWorkstation.st,v 1.298 1999-01-15 21:33:42 cg Exp $'
 10051 ! !
 10060 ! !
 10052 XWorkstation initialize!
 10061 XWorkstation initialize!