Skip to content
Commit 5b0fdf72 authored by Wolfgang Rohdewald's avatar Wolfgang Rohdewald
Browse files

workaround for microsoft include problems

only for microsoft visual c++ 2010
if users include windows.h and winsock2.h in the wrong
order, things go wrong: windows.h includes winsock.h
with the old API, and winsock2.h will define the new API
even if the old API is already defined, resulting in tons
of redefinition errors.
Defining _WINSOCKAPI_ ensures that winsock.h does not do
anything.
Without this define, pykde would not compile
parent 2a9faab5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment