History

fate/api: add w32+os2 support for fate-api-threadmessage

Clément Bœsch committed 10 years ago

Commit dc97ff81 parent 2730a203 files · +3 −4Browse files

Unified · Split

3 files
  1. tests/api/Makefile +1 −1
  2. tests/api/api-threadmessage-test.c +1 −2
  3. tests/fate/api.mak +1 −1
tests/api/Makefile+1−1
@@ -3,7 +3,7 @@ APITESTPROGS-$(call DEMDEC, H264, H264) += api-h264 · 2 unmodified lines
33 APITESTPROGS-yes += api-seek
44 APITESTPROGS-yes += api-codec-param
55 APITESTPROGS-$(call DEMDEC, H263, H263) += api-band
6−APITESTPROGS-$(HAVE_PTHREADS) += api-threadmessage
6+APITESTPROGS-$(HAVE_THREADS) += api-threadmessage
77 APITESTPROGS += $(APITESTPROGS-yes)
88
99 APITESTOBJS := $(APITESTOBJS:%=$(APITESTSDIR)%) $(APITESTPROGS:%=$(APITESTSDIR)/%-test.o)
tests/api/api-threadmessage-test.c+1−2
@@ -22,12 +22,11 @@ · 21 unmodified lines
2222 * Thread message API test
2323 */
2424
25−#include <pthread.h>
26−
2725 #include "libavutil/avassert.h"
2826 #include "libavutil/avstring.h"
2927 #include "libavutil/frame.h"
3028 #include "libavutil/threadmessage.h"
29+#include "libavutil/thread.h" // not public
3130
3231 struct sender_data {
3332 int id;
tests/fate/api.mak+1−1
@@ -28,7 +28,7 @@ FATE_API_SAMPLES_LIBAVFORMAT-yes += fate-api-jpeg-codec-param · 27 unmodified lines
2828 fate-api-jpeg-codec-param: $(APITESTSDIR)/api-codec-param-test$(EXESUF)
2929 fate-api-jpeg-codec-param: CMD = run $(APITESTSDIR)/api-codec-param-test $(TARGET_SAMPLES)/exif/image_small.jpg
3030
31−FATE_API-$(HAVE_PTHREADS) += fate-api-threadmessage
31+FATE_API-$(HAVE_THREADS) += fate-api-threadmessage
3232 fate-api-threadmessage: $(APITESTSDIR)/api-threadmessage-test$(EXESUF)
3333 fate-api-threadmessage: CMD = run $(APITESTSDIR)/api-threadmessage-test 3 10 30 50 2 20 40
3434 fate-api-threadmessage: CMP = null

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t