Opened 5 years ago

Closed 5 years ago

#72 closed defect (duplicate)

Compile failure under MinGW

Reported by: pramsey Owned by: warmerdam
Priority: major Milestone:
Component: default Version: 4.7.0
Keywords: Cc:

Description

The ./configure script runs under mingw/msys and sets MUTEX_pthread. This combines with the mutex test macros in pj_mutex to cause both the MUTEX_win32 and MUTEX_pthread code blocks to be run. The attached patch turns off the pthread option when compiling in a win32 environment.

Attachments (1)

mingw_mutex.patch (399 bytes) - added by pramsey 5 years ago.
Drop pthreads if windows detected.

Download all attachments as: .zip

Change History (2)

Changed 5 years ago by pramsey

Drop pthreads if windows detected.

comment:1 Changed 5 years ago by pramsey

  • Resolution set to duplicate
  • Status changed from new to closed

Duplicates #56

Note: See TracTickets for help on using tickets.