Skip to content

Commit b9b591c

Browse files
authored
Merge pull request #5290 from PeterGottesman/pr/v3.1.x/cygwin-fix
v3.1.x: external libevent: fix for Cygwin
2 parents d54f8b6 + 62ef4dd commit b9b591c

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)