It's not a major issue but this would probably look better if you stuck it above the class declaration and used something like this instead:

    #if !defined(SO_ACCEPTFILTER) && !defined(TCP_DEFER_ACCEPT)