Changeset 18472 in vbox for trunk/src/recompiler_new
- Timestamp:
- Mar 29, 2009 12:24:23 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 45305
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/recompiler_new/qemu-common.h
r17040 r18472 5 5 #ifdef VBOX 6 6 7 #include <string.h> 7 # include <string.h> 8 # if !defined(_MSC_VER) 9 # include <inttypes.h> 10 # endif 8 11 9 12 void pstrcpy(char *buf, int buf_size, const char *str); 10 13 char *pstrcat(char *buf, int buf_size, const char *s); 11 #define snprintf RTStrPrintf 12 #ifndef PRId32 13 #define PRId32 "I32d" 14 #define PRIx32 "I32x" 15 #define PRIu32 "I32u" 16 #define PRIo32 "I32o" 17 #define PRId64 "I64d" 18 #define PRIx64 "I64x" 19 #define PRIu64 "I64u" 20 #define PRIo64 "I64o" 21 #endif 14 # define snprintf RTStrPrintf 22 15 23 #else 16 # ifdef _MSC_VER 17 # define PRId32 "d" 18 # define PRIx32 "x" 19 # define PRIu32 "u" 20 # define PRIo32 "o" 21 # ifdef DEBUG_TMP_LOGGING 22 # define PRId64 "I64d" 23 # define PRIx64 "I64x" 24 # define PRIu64 "I64u" 25 # define PRIo64 "I64o" 26 # else 27 # define PRId64 "RI64" 28 # define PRIx64 "RX64" 29 # define PRIu64 "RU64" 30 # endif 31 # endif /* _MSC_VER */ 32 33 #else /* !VBOX */ 24 34 /* we put basic includes here to avoid repeating them in device drivers */ 25 35 #include <stdlib.h> … … 161 171 /* Force QEMU to stop what it's doing and service IO */ 162 172 void qemu_service_io(void); 163 #endif / / !VBOX173 #endif /* !VBOX */ 164 174 165 175 #endif
Note:
See TracChangeset
for help on using the changeset viewer.