Commits

David Schneider committed 64f5d48

Backed out changeset 9daab4fb1be1

importing util.h seems not to work on all Mac OS systems

Comments (0)

Files changed (1)

pypy/rpython/module/ll_os.py

     _WIN32 = True
 else:
     _WIN32 = False
+
 if _WIN32:
     underscore_on_windows = '_'
 else:
     underscore_on_windows = ''
 
-_DARWIN = sys.platform.startswith('darwin')
-
 includes = []
 if not _WIN32:
     # XXX many of these includes are not portable at all
     includes += ['dirent.h', 'sys/stat.h',
                  'sys/times.h', 'utime.h', 'sys/types.h', 'unistd.h',
-                 'signal.h', 'sys/wait.h', 'fcntl.h']
-    if _DARWIN:
-        includes += ['util.h']
-    else:
-        includes += ['pty.h']
-
+                 'signal.h', 'sys/wait.h', 'fcntl.h', 'pty.h']
 else:
     includes += ['sys/utime.h']