Mercurial > projects > ldc
comparison runtime/internal/critical.c @ 637:29dc68c949b0
Applied the FreeBSD patch from Ralith, closes ticket #95 , slightly changed but basically the same. Thanx Ralith :)
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Thu, 02 Oct 2008 03:25:46 +0200 |
parents | 394e72cbbb46 |
children | aa953cc960b6 |
comparison
equal
deleted
inserted
replaced
636:9fb1f559d9e9 | 637:29dc68c949b0 |
---|---|
73 | 73 |
74 #endif | 74 #endif |
75 | 75 |
76 /* ================================= linux ============================ */ | 76 /* ================================= linux ============================ */ |
77 | 77 |
78 #if linux || __APPLE__ | 78 #if linux || __APPLE__ || __FreeBSD__ |
79 | 79 |
80 #include <stdio.h> | 80 #include <stdio.h> |
81 #include <stdlib.h> | 81 #include <stdlib.h> |
82 #include <pthread.h> | 82 #include <pthread.h> |
83 | 83 |