summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2014-12-17 19:08:38 -0500
committerKeith Bostic <keith@wiredtiger.com>2014-12-17 19:08:38 -0500
commit224db32b2f4b2add6819473383f525cfaf472470 (patch)
tree0b401aa0a8e8fd5c773f38d515bf43a87c412b37
parent8211040ee256c0c589b23d557f2a9254820efa7d (diff)
downloadmongo-224db32b2f4b2add6819473383f525cfaf472470.tar.gz
Add a Windows-specific file, os_win/os_snprintf.c.
-rw-r--r--build_win/filelist.win1
-rwxr-xr-xdist/s_win3
2 files changed, 3 insertions, 1 deletions
diff --git a/build_win/filelist.win b/build_win/filelist.win
index ce55b6c6d55..c7903c0a161 100644
--- a/build_win/filelist.win
+++ b/build_win/filelist.win
@@ -123,6 +123,7 @@ src/os_win/os_remove.c
src/os_win/os_rename.c
src/os_win/os_rw.c
src/os_win/os_sleep.c
+src/os_win/os_snprintf.c
src/os_win/os_thread.c
src/os_win/os_time.c
src/os_win/os_vsnprintf.c
diff --git a/dist/s_win b/dist/s_win
index 3e6a8162d93..180fbd33d83 100755
--- a/dist/s_win
+++ b/dist/s_win
@@ -52,7 +52,8 @@ win_filelist()
-e 's;os_posix/os_sleep.c;os_win/os_sleep.c;' \
-e 's;os_posix/os_thread.c;os_win/os_thread.c;' \
-e 's;os_posix/os_time.c;os_win/os_time.c;' \
- -e 's;os_posix/os_yield.c;os_win/os_yield.c;';
+ -e 's;os_posix/os_yield.c;os_win/os_yield.c;'
+ echo 'src/os_win/os_snprintf.c'
echo 'src/os_win/os_vsnprintf.c') < filelist | sort > $t
cmp $t $f > /dev/null 2>&1 ||
(echo "Building $f" && rm -f $f && cp $t $f)