From f9049e0d5043ede0581ee807c81a4154ae22c4e0 Mon Sep 17 00:00:00 2001 From: HD Moore Date: Sun, 24 Jan 2010 17:31:50 +0000 Subject: [PATCH] Load win32api for cygwin as well git-svn-id: file:///home/svn/framework3/trunk@8214 4d416f70-5f16-0410-b530-b9f4589650da --- lib/rex/compat.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rex/compat.rb b/lib/rex/compat.rb index 9245c090c6..a0ad44396f 100644 --- a/lib/rex/compat.rb +++ b/lib/rex/compat.rb @@ -254,7 +254,7 @@ end # Initialization # -if(is_windows) +if(is_windows or is_cygwin) begin require "Win32API" @@loaded_win32api = true