~ubuntu-branches/ubuntu/trusty/libsdl2/trusty-proposed

« back to all changes in this revision

Viewing changes to src/thread/generic/SDL_syssem.c

  • Committer: Package Import Robot
  • Author(s): Manuel A. Fernandez Montecelo
  • Date: 2013-08-12 20:45:31 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20130812204531-ohq46dgh5s6fp7pi
Tags: 2.0.0+dfsg1-1
* New upstream release
* Filter upstream tarball from binaries and unneeded cruft
  - Remove from debian/copyright files that are now filtered out when creating
    the orig.tar
* Add build-dependency on libdbus-1-dev, to use D-Bus
* Switch to @debian.org address
* Bring the man page of sdl-config up to date

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
SDL_sem *
33
33
SDL_CreateSemaphore(Uint32 initial_value)
34
34
{
35
 
    SDL_SetError("SDL not configured with thread support");
 
35
    SDL_SetError("SDL not built with thread support");
36
36
    return (SDL_sem *) 0;
37
37
}
38
38
 
44
44
int
45
45
SDL_SemTryWait(SDL_sem * sem)
46
46
{
47
 
    return SDL_SetError("SDL not configured with thread support");
 
47
    return SDL_SetError("SDL not built with thread support");
48
48
}
49
49
 
50
50
int
51
51
SDL_SemWaitTimeout(SDL_sem * sem, Uint32 timeout)
52
52
{
53
 
    return SDL_SetError("SDL not configured with thread support");
 
53
    return SDL_SetError("SDL not built with thread support");
54
54
}
55
55
 
56
56
int
57
57
SDL_SemWait(SDL_sem * sem)
58
58
{
59
 
    return SDL_SetError("SDL not configured with thread support");
 
59
    return SDL_SetError("SDL not built with thread support");
60
60
}
61
61
 
62
62
Uint32
68
68
int
69
69
SDL_SemPost(SDL_sem * sem)
70
70
{
71
 
    return SDL_SetError("SDL not configured with thread support");
 
71
    return SDL_SetError("SDL not built with thread support");
72
72
}
73
73
 
74
74
#else