Skip to content

Commit

Permalink
fix __MINGW32__ build
Browse files Browse the repository at this point in the history
  • Loading branch information
deemru committed Aug 22, 2024
1 parent ab5b7b8 commit e91bd46
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/msspi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1889,7 +1889,11 @@ char msspi_set_credprovider( MSSPI_HANDLE h, const char * credprovider )
}

#ifndef _UN
#ifndef __MINGW32__
#define _UN UNNAMED_UNION_A
#else
#define _UN DUMMYUNIONNAME
#endif
#endif // _UN

#if __cplusplus >= 201103L
Expand Down
2 changes: 1 addition & 1 deletion third_party/cprocsp/include/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#endif //DARWIN
#include "myconfig.h"
#elif !defined DEVL && !defined CSP_LITE && !defined _WIN64 /* no config.h :Windows или примеры из doxygen*/
#if !defined(UNIX)
#if !defined(PATH_MAX) && !defined(UNIX)
# define PATH_MAX MAX_PATH
#endif
# define HAVE_STDLIB_H 1
Expand Down

0 comments on commit e91bd46

Please sign in to comment.