Changeset 6712


Ignore:
Timestamp:
Sep 5, 2008, 2:32:35 PM (13 years ago)
Author:
muks
Message:

(win32) Replace missing symbols with values

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/platform.c

    r6711 r6712  
    697697                        MEM_RESERVE | MEM_COMMIT | MEM_TOP_DOWN, PAGE_READWRITE);
    698698    if (! ptr) {
    699         ptr = MMAP_FAILURE;
     699      ptr = (void *) -1;
    700700        goto mmap_exit;
    701701    }
     
    709709    static long g_pagesize;
    710710    static long g_regionsize;
    711     int rc = MUNMAP_FAILURE;
     711    int rc = -1;
    712712    /* Wait for spin lock */
    713713    slwait (&g_sl);
Note: See TracChangeset for help on using the changeset viewer.