Skip to content

Commit 62ef4dd

Browse files
jsquyresPeter Gottesman
authored andcommitted
external libevent: fix for Cygwin
Fix from Marco Atzeri for building on Cygwin. Signed-off-by: Marco Atzeri <[email protected]> Signed-off-by: Jeff Squyres <[email protected]> (cherry picked from commit 07c8ec6) Signed-off-by: Peter Gottesman <[email protected]>
1 parent 0131121 commit 62ef4dd

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

opal/mca/event/external/external.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2011-2015 Cisco Systems, Inc. All rights reserved.
2+
* Copyright (c) 2011-2018 Cisco Systems, Inc. All rights reserved
33
* Copyright (c) 2013 Los Alamos National Security, LLC. All rights reserved.
44
* Copyright (c) 2015-2017 Intel, Inc. All rights reserved.
55
* Copyright (c) 2015-2017 Research Organization for Information Science
@@ -22,6 +22,10 @@
2222

2323
#include "opal_config.h"
2424

25+
#if defined(__CYGWIN__) && defined(WIN32)
26+
#undef WIN32
27+
#endif
28+
2529
#include "event.h"
2630
#include "event2/event.h"
2731
#include "event2/thread.h"

0 commit comments

Comments
 (0)