Revision dfe5fff3 osdep.c

b/osdep.c
28 28
#include <errno.h>
29 29
#include <unistd.h>
30 30
#include <fcntl.h>
31
#ifdef HOST_SOLARIS
31
#ifdef CONFIG_SOLARIS
32 32
#include <sys/types.h>
33 33
#include <sys/statvfs.h>
34 34
#endif
......
116 116
    int map_anon = 0;
117 117
    const char *tmpdir;
118 118
    char phys_ram_file[1024];
119
#ifdef HOST_SOLARIS
119
#ifdef CONFIG_SOLARIS
120 120
    struct statvfs stfs;
121 121
#else
122 122
    struct statfs stfs;
......
129 129
    if (phys_ram_fd < 0) {
130 130
        tmpdir = getenv("QEMU_TMPDIR");
131 131
        if (!tmpdir)
132
#ifdef HOST_SOLARIS
132
#ifdef CONFIG_SOLARIS
133 133
            tmpdir = "/tmp";
134 134
        if (statvfs(tmpdir, &stfs) == 0) {
135 135
#else

Also available in: Unified diff