This patch is fixing remaining compilation errors. It also emphasizes
other things that need fixing on Windows.
#endif
#include <freeradius/libradius.h>
#include <freeradius/radius.h>
+
+////Because freeradius/autoconf.h is evil!
+////#undef uint16_t
+////#undef uint32_t
+////#undef uint8_t
+#undef pid_t
+
#include <radsec/radsec.h>
#include <radsec/request.h>
#ifdef __cplusplus
gssEapRadiusMapError(OM_uint32 *minor,
struct rs_error *err);
+////This really need to be a function call on Windows
#define RS_CONFIG_FILE SYSCONFDIR "/radsec.conf"
#define VENDORPEC_MS 311 /* RFC 2548 */
/* Define to 1 if you have the <unistd.h> header file. */
/* #undef HAVE_UNISTD_H */
+#define SYSCONFDIR "c:\\Program Files\\Moonshot\\etc"
+
+////This messes up freeradius, if defined here
+///#if !defined(snprintf)
+///#define snprintf _snprintf
+///#endif
+
/* Define to the sub-directory in which libtool stores uninstalled libraries.
*/
#define LT_OBJDIR ".libs/"