Ticket #1113: DontUseCPP.diff

File DontUseCPP.diff, 651 bytes (added by MattArsenault, 13 years ago)

Replace bool with int

  • api/boinc_api.h

    diff --git a/api/boinc_api.h b/api/boinc_api.h
    index 0118727..248bac5 100644
    a b extern int setMacIcon(char *filename, char *iconData, long iconSize); 
    124124
    125125#ifdef _WIN32
    126126   //Jason: New windows exit handling to play more nicely with cuda & MS-CRT
    127    extern volatile bool worker_thread_exit_request;
    128    extern volatile bool worker_thread_exit_ack;
     127   extern volatile int worker_thread_exit_request;
     128   extern volatile int worker_thread_exit_ack;
    129129#endif
    130130
    131131#ifdef __cplusplus
    132132} // extern "C" {
    133133#endif
    134134
    135 // C++ API follows 
     135// C++ API follows
    136136#ifdef __cplusplus
    137137#include <string>
    138138