Ørjan Malde

Results 8 issues of Ørjan Malde

_WIN32 is defined by both gcc and msvc, only msvc defines _MSC_VER, so instead of defining ```__WIN__```, lets just use the built-in defines.

This fixes compatibility with slibtool, a re-implementation of GNU libtool in C. [https://dev.midipix.org/cross/slibtool](https://dev.midipix.org/cross/slibtool)

`info.cpp: In function 'void push_toggle_keys_display_button(void*)': info.cpp:56:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 56 | menu_keys(info->term, (void *) (long) !info->toggle, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ info.cpp: In function 'void...

Attempting to build on opensuse tumbleweed with python 3.10.8 and python 2.7.10 symlinked to "python" results in: > cmake -S . -B build -G Ninja -- Mitsuba v3.1.1 -- Mitsuba:...

### Prerequisites - [x] I have written a descriptive pull-request title - [x] I have verified that there are no overlapping [pull-requests](https://github.com/ImageMagick/ImageMagick/pulls) open - [x] I have verified that I...

ELF allows under-linking at compile-time, while targets utilizing PE executable format does not

drop __unix__ guard in favor of not including headers on platforms without said headers.

If the test were to fail due to cross-compilation it will rename malloc to rpl_malloc which comes from gnulib resulting in a linking failure, lets assume malloc simply works instead.