summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/config-win.h2
-rw-r--r--include/thr_alarm.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/include/config-win.h b/include/config-win.h
index 399b28bbe24..4c29f9a0a8c 100644
--- a/include/config-win.h
+++ b/include/config-win.h
@@ -222,6 +222,8 @@ inline double ulonglong2double(ulonglong value)
#define HAVE_PERROR
#define HAVE_VFPRINT
+#define HAVE_SNPRINTF
+#define _snprintf snprintf
#define HAVE_CHSIZE /* System has chsize() function */
#define HAVE_RENAME /* Have rename() as function */
#define HAVE_BINARY_STREAMS /* Have "b" flag in streams */
diff --git a/include/thr_alarm.h b/include/thr_alarm.h
index 931896855f3..0c268c09f0e 100644
--- a/include/thr_alarm.h
+++ b/include/thr_alarm.h
@@ -70,7 +70,7 @@ typedef struct st_win_timer
#ifdef __WIN__
typedef struct st_win_timer
{
- uint crono;
+ rf_SetTimer crono;
} thr_alarm_t;
bool thr_got_alarm(thr_alarm_t *alrm);