[DEV] add ws2 include support for windows
This commit is contained in:
parent
27f6a95d41
commit
da8233d34e
26
lutin/z_system/lutinSystem_Windows_ws2.py
Normal file
26
lutin/z_system/lutinSystem_Windows_ws2.py
Normal 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')
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user