[Python-checkins] python/dist/src/Python thread_pthread.h,2.41,2.42

loewis@users.sourceforge.net loewis@users.sourceforge.net
Mon, 02 Dec 2002 14:17:03 -0800


Update of /cvsroot/python/python/dist/src/Python
In directory sc8-pr-cvs1:/tmp/cvs-serv14112/Python

Modified Files:
	thread_pthread.h 
Log Message:
Add compile-time errors for unsupported systems.


Index: thread_pthread.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/thread_pthread.h,v
retrieving revision 2.41
retrieving revision 2.42
diff -C2 -d -r2.41 -r2.42
*** thread_pthread.h	4 Oct 2002 07:21:24 -0000	2.41
--- thread_pthread.h	2 Dec 2002 22:17:01 -0000	2.42
***************
*** 32,35 ****
--- 32,36 ----
  /* _DECTHREADS_ is defined in cma.h which is included by pthread.h */
  #  define PY_PTHREAD_D4
+ #  error Systems with PY_PTHREAD_D4 are unsupported. See README.
  
  #elif defined(__osf__) && defined (__alpha)
***************
*** 37,40 ****
--- 38,42 ----
  #  if !defined(_PTHREAD_ENV_ALPHA) || defined(_PTHREAD_USE_D4) || defined(PTHREAD_USE_D4)
  #    define PY_PTHREAD_D4
+ #    error Systems with PY_PTHREAD_D4 are unsupported. See README.
  #  else
  #    define PY_PTHREAD_STD
***************
*** 51,61 ****
--- 53,66 ----
  #  else
  #    define PY_PTHREAD_D7
+ #    error Systems with PY_PTHREAD_D7 are unsupported. See README.
  #  endif
  
  #elif defined(__DGUX)
  #  define PY_PTHREAD_D6
+ #  error Systems with PY_PTHREAD_D6 are unsupported. See README.
  
  #elif defined(__hpux) && defined(_DECTHREADS_)
  #  define PY_PTHREAD_D4
+ #  error Systems with PY_PTHREAD_D4 are unsupported. See README.
  
  #else /* Default case */