1
/*****************************************************************************
3
Copyright (c) 2009, Innobase Oy. All Rights Reserved.
5
This program is free software; you can redistribute it and/or modify it under
6
the terms of the GNU General Public License as published by the Free Software
7
Foundation; version 2 of the License.
9
This program is distributed in the hope that it will be useful, but WITHOUT
10
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
13
You should have received a copy of the GNU General Public License along with
14
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
15
Place, Suite 330, Boston, MA 02111-1307 USA
17
*****************************************************************************/
19
/*****************************************************************************
20
This program should compile and when run, print a single line like:
21
#define SIZEOF_PTHREAD_T %d
23
Created April 18, 2009 Vasil Dimov
24
*****************************************************************************/
30
main(int argc, char** argv)
32
printf("#define SIZEOF_PTHREAD_T %d\n", (int) sizeof(pthread_t));