[DEV] add ws2 include support for windows

This commit is contained in:
Edouard DUPIN 2016-10-06 01:27:54 +02:00
parent 27f6a95d41
commit da8233d34e

View File

@ -0,0 +1,26 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
##
## @author Edouard DUPIN
##
## @copyright 2012, Edouard DUPIN, all right reserved
##
## @license APACHE v2.0 (see license file)
##
from lutin import debug
from lutin import system
from lutin import tools
from lutin import env
import os
class System(system.System):
def __init__(self, target):
system.System.__init__(self)
# create some HELP:
self.set_help("Win socket interface v2.0")
self.set_valid(True)
self.add_flag('link-lib', 'ws2_32')