diff -r 67f8bb81b054 -r b2a53d442fd6 cross-plat-dev-utils/get_wordsize.c --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/cross-plat-dev-utils/get_wordsize.c Sat May 15 14:32:45 2010 +0100 @@ -0,0 +1,22 @@ +/* +Copyright (c) 2010 Symbian Foundation Ltd +This component and the accompanying materials are made available +under the terms of the License "Eclipse Public License v1.0" +which accompanies this distribution, and is available +at the URL "http://www.eclipse.org/legal/epl-v10.html". + +Initial Contributors: +Mike Kinghan, mikek@symbian.org for Symbian Foundation Ltd - initial contribution. + +Program to return the wordsize in bits of the host machine +*/ + +#include +#include + +int main(void) +{ + printf("%lu\n",sizeof(unsigned long)); + exit(0); +} +