Parent Directory
|
Revision Log
|
Patch
| revision 1.7 by bellard, Thu Feb 10 21:59:15 2005 UTC | revision 1.8 by bellard, Mon Feb 21 20:10:36 2005 UTC | |
|---|---|---|
| # | Line 273 void *get_mmap_addr(unsigned long size) | Line 273 void *get_mmap_addr(unsigned long size) |
| 273 | ||
| 274 | #else | #else |
| 275 | ||
| 276 | #ifdef _BSD | |
| 277 | #include <stdlib.h> | |
| 278 | #else | |
| 279 | #include <malloc.h> | #include <malloc.h> |
| 280 | #endif | |
| 281 | #ifdef _WIN32 | |
| 282 | /* XXX: find a solution to have page aligned data */ | |
| 283 | #define memalign(align, size) malloc(size) | |
| 284 | #endif | |
| 285 | ||
| 286 | int qemu_write(int fd, const void *buf, size_t n) | int qemu_write(int fd, const void *buf, size_t n) |
| 287 | { | { |
|
||||||||
| savannah-hackers-public@gnu.org | ViewVC Help |
| Powered by ViewVC 1.1.26 |