headers/esent: Fix JetOpenTemporaryTable compilation error. Only declare JetOpenTemporaryTable if we also define its second argument type, JET_OPENTEMPORARYTABLE. Signed-off-by: David Grayson <davidegrayson@gmail.com> Signed-off-by: LIU Hao <lh_mouse@126.com>
diff --git a/mingw-w64-headers/include/esent.h b/mingw-w64-headers/include/esent.h index b327228..2cd3bb7 100644 --- a/mingw-w64-headers/include/esent.h +++ b/mingw-w64-headers/include/esent.h
@@ -2559,10 +2559,12 @@ #define JetOpenTable __MINGW_NAME_AW(JetOpenTable) +#if (JET_VERSION >= 0x0600) JET_ERR JET_API JetOpenTemporaryTable( JET_SESID sesid, JET_OPENTEMPORARYTABLE* popentemporarytable ); +#endif /*(JET_VERSION >= 0x0600)*/ JET_ERR JET_API JetOpenTempTable( JET_SESID sesid,