Only define E_NOTFOUND if not already defined

This commit is contained in:
nyorain 2016-07-04 00:34:56 +02:00 committed by GitHub
parent ccf9545bc5
commit f26ba0727e

View file

@ -26,7 +26,9 @@
#include <stdio.h>
// Some HRESULT values are not defined by the windows headers
#ifndef E_NOTFOUND
#define E_NOTFOUND 0x80070490
#endif //E_NOTFOUND
#ifdef __cplusplus
// In C++ mode, IsEqualGUID() takes its arguments by reference