gbrault / picoc

Automatically exported from code.google.com/p/picoc
1 stars 0 forks source link

Patch for /trunk/platform/platform_msvc.c compilation error in MSVC #174

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
- Fix compiling under MSVC returned error in
    PlatformExit() -> missing extern global variable PicocExitValue.
- Added Picoc *pc as 1st argument to match function prototype and avoid 
crashing the application at runtime. Modified functions are :
    void PlatformInit(Picoc *pc);
    void PlatformCleanup(Picoc *pc);
    char *PlatformReadFile(Picoc *pc, const char *FileName);
    void PicocPlatformScanFile(Picoc *pc, const char *FileName);
    void PlatformExit(Picoc *pc, int RetVal);

PlatformExit(), PicocPlatformScanFile(),

Original issue reported on code.google.com by kevingar...@gmail.com on 16 Jan 2013 at 3:50

Attachments:

GoogleCodeExporter commented 9 years ago
Patched in r586

Original comment by zik.sale...@gmail.com on 23 Feb 2013 at 11:11