~ubuntu-branches/ubuntu/precise/libpthread-workqueue/precise

« back to all changes in this revision

Viewing changes to src/windows/platform.h

  • Committer: Bazaar Package Importer
  • Author(s): Mark Heily
  • Date: 2011-07-16 22:13:33 UTC
  • mfrom: (5.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20110716221333-bvkopimc1zt6iae4
Tags: 0.8.2-1
* New upstream version.
* Fix FTBFS: use time_t instead of unsigned int (Closes: #633829)
* Prevent a lintian warning caused by 'Author(s)' in debian/copyright 

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
#define strdup(p)       _strdup(p)
29
29
#define random()        rand()
30
30
 
 
31
#ifdef PROVIDE_LEGACY_XP_SUPPORT
 
32
# define WORKQUEUE_PLATFORM_SPECIFIC \
 
33
        LIST_ENTRY(_pthread_workqueue) wqlist_entry
 
34
#else
31
35
/* Specific workqueue items */
32
 
#define WORKQUEUE_PLATFORM_SPECIFIC \
 
36
# define WORKQUEUE_PLATFORM_SPECIFIC \
33
37
        PTP_POOL win_thread_pool; \
34
38
        TP_CALLBACK_ENVIRON win_callback_env
 
39
#endif
35
40
 
36
41
 
37
42
#endif  /* _PTWQ_WINDOWS_PLATFORM_H */