pkcs11-tool: for WIN32 define STDOUT_FILENO

fix bug introduced in 6cd28cfc7c
This commit is contained in:
Viktor Tarasov 2016-08-16 10:33:05 +02:00
parent bb2d863e4f
commit 64ba32f2c6
1 changed files with 6 additions and 0 deletions

View File

@ -60,6 +60,12 @@
#include "common/compat_strlcpy.h"
#include "util.h"
#ifdef _WIN32
#ifndef STDOUT_FILENO
#define STDOUT_FILENO 1
#endif
#endif
extern void *C_LoadModule(const char *name, CK_FUNCTION_LIST_PTR_PTR);
extern CK_RV C_UnloadModule(void *module);