FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
arrayfire-lua/CMakeModules/lua_MSVC.patch at master · arrayfire/arrayfire-lua · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
arrayfire
/
arrayfire-lua
Public
Notifications
You must be signed in to change notification settings
Fork
5
Star
10
Code
Issues
1
Pull requests
1
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
arrayfire-lua
/
CMakeModules
/
lua_MSVC.patch
Copy path
More file actions
More file actions
Latest commit
History
History
History
21 lines (17 loc) · 472 Bytes
Breadcrumbs
arrayfire-lua
/
CMakeModules
/
lua_MSVC.patch
Copy path
File metadata and controls
21 lines (17 loc) · 472 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
commit 4b61e31e44bac6b09bb70d3dbcd1b470b754bb71
Author: Shehzan Mohammed <shehzan@arrayfire.com>
Date: Wed Dec 23 15:01:27 2015 -0500
Lua MSVC snprintf patch
diff --git a/src/lprefix.h b/src/lprefix.h
index 02daa83..b56f8f6 100644
--- a/src/lprefix.h
+++ b/src/lprefix.h
@@ -39,6 +39,10 @@
#define _CRT_SECURE_NO_WARNINGS /* avoid warnings about ISO C functions */
#endif
+
#if _MSC_VER < 1900
+
#define snprintf sprintf_s
+
#endif
+
#endif /* } */
#endif
Back
|
FazBrowse Home
|
New Git URL