Ignore:
Timestamp:
Feb 20, 2012, 6:12:24 PM (13 years ago)
Author:
[email protected]
Message:

Does not build on GNU Hurd
https://bugs.webkit.org/show_bug.cgi?id=79045

Patch by Pino Toscano <[email protected]> on 2012-02-20
Reviewed by Gustavo Noronha Silva.

  • wtf/Platform.h: define WTF_OS_HURD.
  • wtf/ThreadIdentifierDataPthreads.cpp: adds a band-aid fix

for the lack of PTHREAD_KEYS_MAX definition, with a value which
should not cause issues.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/wtf/ThreadIdentifierDataPthreads.cpp

    r95901 r108279  
    3737#include "Threading.h"
    3838
    39 #if OS(ANDROID)
    40 // PTHREAD_KEYS_MAX is not defined in bionic, so explicitly define it here.
     39#if OS(ANDROID) || OS(HURD)
     40// PTHREAD_KEYS_MAX is not defined in bionic nor in Hurd, so explicitly define it here.
    4141#define PTHREAD_KEYS_MAX 1024
    4242#else
Note: See TracChangeset for help on using the changeset viewer.