From e01695d536178867dc156a8c7eec44641d6d6065 Mon Sep 17 00:00:00 2001 From: Thomas Nagy Date: Sun, 5 Jan 2014 21:31:54 +0100 Subject: [PATCH] Trying to get rid of the invalid handle errors in ansiterm --- waflib/ansiterm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/waflib/ansiterm.py b/waflib/ansiterm.py index 1ebd5820..f453bb77 100644 --- a/waflib/ansiterm.py +++ b/waflib/ansiterm.py @@ -17,7 +17,7 @@ from waflib.Utils import threading wlock = threading.Lock() try: - from ctypes import Structure, windll, c_short, c_ushort, c_ulong, c_int, byref, c_wchar, GetLastError + from ctypes import Structure, windll, c_short, c_ushort, c_ulong, c_int, byref, c_wchar, GetLastError, POINTER, c_long except ImportError: class AnsiTerm(object):