Skip to content

#define NOMINMAX or #undef min when including windows.h #53

@sacereda

Description

@sacereda

// By including the Windows.h header that brings in the min() macro which prevents us from using std::min()

You can resolve at include level:

	#if defined(AJA_WINDOWS)
		#define NOMINMAX
		#include <Windows.h>
	#endif

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions