The Win32-console package on Hackage 
<https://hackage.haskell.org/package/Win32-console> advises for its 
compilation: "Make sure to pass --hsc2hs-options="-D_WIN32_WINNT=XXX" to cabal 
configure". I am using stack (on Windows 10) and not cabal. If anyone can 
advise a stack equivalent, I would be most grateful.

My attempts to apply "-D_WIN32_WINNT=0x0600" via various .cabal file fields 
do not seem to work, in that stack build behaves as if _WIN32_WINNT=0x0502 
when it processes the .hsc file of the Win32-console package. 

-- 
You received this message because you are subscribed to the Google Groups 
"haskell-stack" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/haskell-stack/d1fda602-04a8-4ca3-b39f-e54b774fa1f6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to