Commit deb6fd08 authored by Sam Rushing's avatar Sam Rushing

removed weird special-case code for linux: of course it has stdint [tested...

removed weird special-case code for linux: of course it has stdint [tested ubuntu 12.04 cython 0.18]
parent aa2f5bf6
# -*- Mode: Cython -*- # -*- Mode: Cython -*-
IF UNAME_SYSNAME == "Linux": from libc.stdint cimport uint8_t, uint16_t, uint32_t
cdef extern from "stdint.h":
ctypedef unsigned char uint8_t
ctypedef unsigned short uint16_t
ctypedef unsigned int uint32_t
ELSE:
from libc cimport uint8_t, uint16_t, uint32_t
cdef extern from "netinet/in.h": cdef extern from "netinet/in.h":
IF UNAME_SYSNAME == "Linux": IF UNAME_SYSNAME == "Linux":
......
Markdown is supported
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