Annotation of hatari/src/cpu/compat.h, revision 1.1.1.5

1.1       root        1: /*
                      2:   Hatari - compat.h
                      3: 
1.1.1.2   root        4:   This file is distributed under the GNU General Public License, version 2
                      5:   or at your option any later version. Read the file gpl.txt for details.
1.1       root        6: 
1.1.1.2   root        7:   This file contains all the includes and defines specific to windows (such as
                      8:   TCHAR) needed by WinUAE CPU core.
                      9:   The aim is to have minimum changes in WinUae CPU core for next updates.
1.1       root       10: */
                     11: 
                     12: #ifndef HATARI_COMPAT_H
                     13: #define HATARI_COMPAT_H
                     14: 
1.1.1.5 ! root       15: #include "uae/string.h"
1.1       root       16: 
1.1.1.4   root       17: #define strnicmp strncasecmp
1.1       root       18: 
                     19: 
                     20: #define f_out fprintf
1.1.1.4   root       21: #define console_out printf
                     22: //#define console_out_f printf
                     23: #define console_out_f(...)     { if ( console_out_FILE ) fprintf ( console_out_FILE , __VA_ARGS__ ); else printf ( __VA_ARGS__ ); }
                     24: #define gui_message console_out_f
1.1       root       25: 
1.1.1.5 ! root       26: #define uae_log printf
        !            27: 
1.1       root       28: #endif
1.1.1.5 ! root       29: 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.