~~~
is wrong. Also WIN32 is wrong (but defined in windows.h).
~~~
WIN64 must be _WIN64 and
WIN32 must be _WIN32
~~~
Please see the comment at the top of magick/api.h. These defines come
from the VisualStudio project file (are produced by the configure
program) and are not the same as the internal Windows defines.
Is there some problem you are trying to solve?
Bob
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I see. Thank you.
I'm doing custom builds, so it is the issue. (I did not define a lot of symbols.)
From my POV _WIN32/64 was more correct as it comes from MSVC by default.
Also seems that doing extra work (defining WIN32/64 manually) could be bad for custom builds.
Sorry for bothering, closing.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
GraphicsMagick has used project-generated defines since the VisualStudio project was developed. There are other defines used as well to indicate if code is being built for a DLL library or DLL module.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
On Mon, 21 May 2018, Egor Pugin wrote:
Please see the comment at the top of magick/api.h. These defines come
from the VisualStudio project file (are produced by the configure
program) and are not the same as the internal Windows defines.
Is there some problem you are trying to solve?
Bob
I see. Thank you.
I'm doing custom builds, so it is the issue. (I did not define a lot of symbols.)
From my POV
_WIN32/64was more correct as it comes from MSVC by default.Also seems that doing extra work (defining WIN32/64 manually) could be bad for custom builds.
Sorry for bothering, closing.
Please, close.
GraphicsMagick has used project-generated defines since the VisualStudio project was developed. There are other defines used as well to indicate if code is being built for a DLL library or DLL module.