and for windows

This commit is contained in:
jasonmoxham 2011-04-04 00:43:00 +00:00
parent 0af26b5bf4
commit bc8f665803

View File

@ -28,9 +28,6 @@ memcpy(p+4,&(a[3]),4);
memcpy(p+8,&(a[2]),4);
return a[0];}
main (int argc,char *argv[])
{char *p;int a=sizeof(p)*8;
#define CONFIG_GUESS 1
// safe to always try 32bit
#define CONFIG_GUESS_32BIT 1
@ -39,5 +36,10 @@ main (int argc,char *argv[])
#define FAT64 0
#define INFAT 0
#include "../cpuid.c"
main (int argc,char *argv[])
{char *p,*modelstr;int a=sizeof(p)*8;
modelstr=__gmpn_cpu(0);
if(argc==2){printf("set GCPU=%s\nset GBITS=%d\n",modelstr,a);return 0;}
printf("%s-pc-Win%d\n",modelstr,a);return 0;}