Skip to content

Commit

Permalink
Platform specific knowledge: WIN32_FILE and STD_FILE are mutually exc…
Browse files Browse the repository at this point in the history
…lusive options

Therefore, when we define `WIN32_FILE_SUPPORT` we must also define `NO_STD_FILE_SUPPORT`
Until now, this knowledge was in build.win*/common/Makefile.*
(and a legacy MSVC project in plaftorms/win32/misc/Squeak.dsp - on pourrait réduire la voilure !!!)
Since it is easy to forget the second define, lets extend the knowledge in the sqPlatformSpecific.h
  • Loading branch information
nicolas-cellier-aka-nice committed Dec 30, 2018
1 parent 8638522 commit 1893512
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions platforms/win32/vm/sqPlatformSpecific.h
Expand Up @@ -30,6 +30,7 @@

#ifdef WIN32_FILE_SUPPORT

#define NO_STD_FILE_SUPPORT /* STD_FILE or WIN32_FILE are mutually exclusive options */
#undef sqImageFile
#undef sqImageFileClose
#undef sqImageFileOpen
Expand Down

0 comments on commit 1893512

Please sign in to comment.