author | Mike Kinghan <mikek@symbian.org> |
Sat, 27 Nov 2010 17:23:11 +0000 | |
changeset 41 | 1600211976c3 |
parent 29 | 86492ef8d086 |
permissions | -rwxr-xr-x |
10
b2a53d442fd6
1) Introducing support for 32/64-bit variants of the patch files
mikek
parents:
diff
changeset
|
1 |
/* |
b2a53d442fd6
1) Introducing support for 32/64-bit variants of the patch files
mikek
parents:
diff
changeset
|
2 |
Copyright (c) 2010 Symbian Foundation Ltd |
b2a53d442fd6
1) Introducing support for 32/64-bit variants of the patch files
mikek
parents:
diff
changeset
|
3 |
This component and the accompanying materials are made available |
b2a53d442fd6
1) Introducing support for 32/64-bit variants of the patch files
mikek
parents:
diff
changeset
|
4 |
under the terms of the License "Eclipse Public License v1.0" |
b2a53d442fd6
1) Introducing support for 32/64-bit variants of the patch files
mikek
parents:
diff
changeset
|
5 |
which accompanies this distribution, and is available |
b2a53d442fd6
1) Introducing support for 32/64-bit variants of the patch files
mikek
parents:
diff
changeset
|
6 |
at the URL "http://www.eclipse.org/legal/epl-v10.html". |
b2a53d442fd6
1) Introducing support for 32/64-bit variants of the patch files
mikek
parents:
diff
changeset
|
7 |
|
b2a53d442fd6
1) Introducing support for 32/64-bit variants of the patch files
mikek
parents:
diff
changeset
|
8 |
Initial Contributors: |
b2a53d442fd6
1) Introducing support for 32/64-bit variants of the patch files
mikek
parents:
diff
changeset
|
9 |
Mike Kinghan, mikek@symbian.org for Symbian Foundation Ltd - initial contribution. |
b2a53d442fd6
1) Introducing support for 32/64-bit variants of the patch files
mikek
parents:
diff
changeset
|
10 |
|
b2a53d442fd6
1) Introducing support for 32/64-bit variants of the patch files
mikek
parents:
diff
changeset
|
11 |
Program to return the wordsize in bits of the host machine |
b2a53d442fd6
1) Introducing support for 32/64-bit variants of the patch files
mikek
parents:
diff
changeset
|
12 |
*/ |
b2a53d442fd6
1) Introducing support for 32/64-bit variants of the patch files
mikek
parents:
diff
changeset
|
13 |
|
b2a53d442fd6
1) Introducing support for 32/64-bit variants of the patch files
mikek
parents:
diff
changeset
|
14 |
#include <stdio.h> |
b2a53d442fd6
1) Introducing support for 32/64-bit variants of the patch files
mikek
parents:
diff
changeset
|
15 |
#include <stdlib.h> |
b2a53d442fd6
1) Introducing support for 32/64-bit variants of the patch files
mikek
parents:
diff
changeset
|
16 |
|
b2a53d442fd6
1) Introducing support for 32/64-bit variants of the patch files
mikek
parents:
diff
changeset
|
17 |
int main(void) |
b2a53d442fd6
1) Introducing support for 32/64-bit variants of the patch files
mikek
parents:
diff
changeset
|
18 |
{ |
29
86492ef8d086
1) Update cross-plat-dev-utils for gcc 4.4.3
Mike Kinghan <mikek@symbian.org>
parents:
10
diff
changeset
|
19 |
printf("%lu\n",(unsigned long)sizeof(unsigned long)); |
10
b2a53d442fd6
1) Introducing support for 32/64-bit variants of the patch files
mikek
parents:
diff
changeset
|
20 |
exit(0); |
b2a53d442fd6
1) Introducing support for 32/64-bit variants of the patch files
mikek
parents:
diff
changeset
|
21 |
} |
b2a53d442fd6
1) Introducing support for 32/64-bit variants of the patch files
mikek
parents:
diff
changeset
|
22 |