Fix miscellaneous warnings from compiling with MinGW.

Note that MinGW defines NOMINMAX by default.
This commit is contained in:
Roman Donchenko
2013-06-26 14:59:00 +04:00
parent c244f000ab
commit 5b2b76763e
2 changed files with 4 additions and 2 deletions

View File

@@ -142,7 +142,7 @@ typedef struct
int imgoff;
float factor;
} detect_piramid_info;
#ifdef WIN32
#ifdef _MSC_VER
#define _ALIGNED_ON(_ALIGNMENT) __declspec(align(_ALIGNMENT))
typedef _ALIGNED_ON(128) struct GpuHidHaarTreeNode