Skip to content

Commit

Permalink
Fix libdispatch integration compilation error on Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
triplef committed Mar 17, 2021
1 parent f8ad54a commit 54ae296
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
@@ -1,3 +1,8 @@
2021-03-09 Frederik Seiffert <frederik@algoriddim.com>

* Source/NSRunLoop.m:
Fix libdispatch integration compilation error on Windows.

2021-03-05 Richard Frith-Macdonald <rfm@gnu.org>

* Source/GSHTTPURLHandle.m:
Expand Down
4 changes: 4 additions & 0 deletions Source/NSRunLoop.m
Expand Up @@ -807,7 +807,11 @@ + (NSRunLoop*) _runLoopForThread: (NSThread*) aThread
GSMainQueueDrainer *drain =
[NSObject leak: [[GSMainQueueDrainer new] autorelease]];
[current addEvent: [GSMainQueueDrainer mainQueueFileDescriptor]
#ifdef _WIN32
type: ET_HANDLE
#else
type: ET_RDESC
#endif
watcher: drain
forMode: NSDefaultRunLoopMode];

Expand Down

0 comments on commit 54ae296

Please sign in to comment.