Changeset 10884


Ignore:
Timestamp:
Sep 26, 2008, 1:55:41 PM (11 years ago)
Author:
gb
Message:

Because of mingw32/w32api lossage, it's necessary to ensure that "argv"
isn't #defined before #including <stdio.h>.

Thread startup functions need the CALLBACK attribute (because they
follow Windows calling conventions.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/lisp-kernel/Threads.h

    r10596 r10884  
    2020#include <sys/mman.h>
    2121#endif
     22#undef __argv
    2223#include <stdio.h>
    2324#ifndef WINDOWS
     
    180181                             void* stackaddr,
    181182#ifdef WINDOWS
    182                              unsigned (*start_routine)(void *)
     183                             unsigned CALLBACK (*start_routine)(void *)
    183184#else
    184185                             void* (*start_routine)(void *)
Note: See TracChangeset for help on using the changeset viewer.