Ignore:
Timestamp:
Jun 15, 2002, 12:59:07 PM (23 years ago)
Author:
darin
Message:
  • JavaScriptCore.pbproj/project.pbxproj: Removed explicit PFE_FILE_C_DIALECTS now that Project Builder handles this automatically. Removed explicit USE_GCC3 since that's implicit now. Also, since this project is all C++, only use WARNING_CFLAGS with flags that are appropriate for C++; don't bother breaking out C vs. C++.
  • kjs/collector.cpp: Now that the system warning is fixed, use PTHREAD_MUTEX_INITIALIZER and PTHREAD_COND_INITIALIZER.
  • kjs/internal.cpp: Use PTHREAD_MUTEX_INITIALIZER.
  • kjs/ustring.cpp: Use PTHREAD_ONCE_INIT.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kjs/internal.cpp

    r1326 r1371  
    690690int Parser::sid = 0;
    691691#ifdef APPLE_CHANGES
    692 static pthread_mutex_t parserLock = {_PTHREAD_MUTEX_SIG_init, {}};
     692static pthread_mutex_t parserLock = PTHREAD_MUTEX_INITIALIZER;
    693693#endif
    694694
Note: See TracChangeset for help on using the changeset viewer.