]> git.proxmox.com Git - qemu.git/blobdiff - syscall-i386.h
comment
[qemu.git] / syscall-i386.h
index 9bc35f1ca3e24b1e8abaddee1aea0e90b6211579..d8fa444c97edda56d6ed033addb30b3d79399c81 100644 (file)
@@ -302,7 +302,7 @@ struct target_stat64 {
        unsigned short  st_dev;
        unsigned char   __pad0[10];
 
-#define STAT64_HAS_BROKEN_ST_INO       1
+#define TARGET_STAT64_HAS_BROKEN_ST_INO        1
        target_ulong    __st_ino;
 
        unsigned int    st_mode;
@@ -427,8 +427,8 @@ typedef struct target_siginfo {
                        pid_t _pid;             /* which child */
                        uid_t _uid;             /* sender's uid */
                        int _status;            /* exit code */
-                       clock_t _utime;
-                       clock_t _stime;
+                       target_clock_t _utime;
+                        target_clock_t _stime;
                } _sigchld;
 
                /* SIGILL, SIGFPE, SIGSEGV, SIGBUS */
@@ -572,8 +572,8 @@ struct target_pt_regs {
 #define TARGET_TIOCSBRK        0x5427  /* BSD compatibility */
 #define TARGET_TIOCCBRK        0x5428  /* BSD compatibility */
 #define TARGET_TIOCGSID        0x5429  /* Return the session ID of FD */
-#define TARGET_TIOCGPTN        _IOR('T',0x30, unsigned int) /* Get Pty Number (of pty-mux device) */
-#define TARGET_TIOCSPTLCK      _IOW('T',0x31, int)  /* Lock/unlock Pty */
+#define TARGET_TIOCGPTN        TARGET_IOR('T',0x30, unsigned int) /* Get Pty Number (of pty-mux device) */
+#define TARGET_TIOCSPTLCK      TARGET_IOW('T',0x31, int)  /* Lock/unlock Pty */
 
 #define TARGET_FIONCLEX        0x5450  /* these numbers need to be adjusted. */
 #define TARGET_FIOCLEX         0x5451