The Windows SDK declares BOOL as an int. Objective C defines BOOl as a char.
Those two types clash. MinGW's implementation of the Windows SDK uses the WINBOOL
type to avoid this clash. When compiling natively on Windows, we need to manually
define WINBOOL.
MinGW will define _DEF_WINBOOL_ if it has defined WINBOOL so we can use the same trick
here.
See https://github.com/mingw-w64/mingw-w64/blob/master/mingw-w64-headers/include/ntdef.h#L355
instead of pasteboard object to prevent condition where
paste works only once as observed on Windows.
(MainWindowProc) Add code to handle WM_RENDERALLFORMATS as documented
on MSDN here: http://msdn.microsoft.com/en-us/library/windows/desktop/ms649029(v=vs.85).aspx
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@35933 72102866-910b-0410-8b05-ffd578937521
* Tools/GNUmakefile.preamble: Compile with -Wall.
* Tools/xpbs.m: Rename to +initializePasteboard. Return NO iff
XOpenDisplay fails.
* Tools/win32pbs.m (+initialize): Rename to +initializePasteboard.
Return YES.
* Tools/gpbs.m ([PasteboardServer -init]): Call +initializePasteboard
instead of +class. Set xPbClass to nil if the call fails.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@19992 72102866-910b-0410-8b05-ffd578937521