/ Check-in [d582cd89]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Add another define to the MSVC makefile that is sometimes required to build cleanly for WinRT.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:d582cd890d88e873d76a23545bcd49cf093ee9d2
User & Date: mistachkin 2012-07-24 06:02:35
Context
2012-07-24
19:46
Mark parameters to sorter interfaces as const where appropriate. check-in: d8da26f1 user: drh tags: trunk
06:02
Add another define to the MSVC makefile that is sometimes required to build cleanly for WinRT. check-in: d582cd89 user: mistachkin tags: trunk
2012-07-23
21:43
Refactor field names in the SelectDest object to make them distinct and easier to grep for. check-in: b589f1ef user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to Makefile.msc.

119
120
121
122
123
124
125

126
127
128
129
130
131
132
# When compiling the library for use in the WinRT environment,
# the following compile-time options must be used as well to
# disable use of Win32 APIs that are not available and to enable
# use of Win32 APIs that are specific to Windows 8 and/or WinRT.
#
!IF $(FOR_WINRT)!=0
TCC = $(TCC) -DSQLITE_OS_WINRT=1

!ENDIF

# Also, we need to dynamically link to the correct MSVC runtime
# when compiling for WinRT (e.g. debug or release) OR if the
# USE_CRT_DLL option is set to force dynamically linking to the
# MSVC runtime library.
#







>







119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
# When compiling the library for use in the WinRT environment,
# the following compile-time options must be used as well to
# disable use of Win32 APIs that are not available and to enable
# use of Win32 APIs that are specific to Windows 8 and/or WinRT.
#
!IF $(FOR_WINRT)!=0
TCC = $(TCC) -DSQLITE_OS_WINRT=1
TCC = $(TCC) -DWINAPI_FAMILY=WINAPI_PARTITION_APP
!ENDIF

# Also, we need to dynamically link to the correct MSVC runtime
# when compiling for WinRT (e.g. debug or release) OR if the
# USE_CRT_DLL option is set to force dynamically linking to the
# MSVC runtime library.
#