Skip to content

Make sure to use defined(__GNUC__) instead of bare __GNUC__ in flann2…#15172

Merged
opencv-pushbot merged 1 commit intoopencv:masterfrom
TheGoddessInari:fix_windows
Jul 30, 2019
Merged

Make sure to use defined(__GNUC__) instead of bare __GNUC__ in flann2…#15172
opencv-pushbot merged 1 commit intoopencv:masterfrom
TheGoddessInari:fix_windows

Conversation

@TheGoddessInari
Copy link
Copy Markdown
Contributor

… dist.h header.

This pullrequest changes

This fixes a build error on MSVC with Unreal Engine (at least).

error C4668: '__GNUC__' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'

… header.

This fixes a compiler error on MSVC with Unreal Engine (at least).
@mshabunin mshabunin self-assigned this Jul 30, 2019
@mshabunin mshabunin added the backport is needed Label for maintainers. Authors of PR can ignore this label Jul 30, 2019
@opencv-pushbot opencv-pushbot merged commit 4e998c9 into opencv:master Jul 30, 2019
@alalek alalek mentioned this pull request Aug 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category: build/install category: flann port/backport done Label for maintainers. Authors of PR can ignore this

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants