![wireshark logo](/images/wireshark-logo.png)
Wireshark mailing list archives
Re: Get_cpu_info on platforms other than Windows?
From: Dirk Jagdmann <doj () cubic org>
Date: Wed, 06 Feb 2013 10:02:09 -0800
On 06.02.2013 05:13, Anders Broman wrote:
Hi, The included patch works on Ubuntu 64 bits but I guess it needs to be protected with more #if defined on say OSX ppc?
#if defined(__i386__) || defined(__x86_64__) #if defined(_MSC_VER) // your windows version, compiled by a Microsoft compiler #elif defined(__GCC__) // your gcc version #else #error do_cpuid() not implemented for your compiler for the Intel processor #endif #elif defined(__ppc__) || defined(__powerpc64__) #error do_cpuid() not implemented for the PowerPC #else #error unknown platform: do_cpuid() not implemented #endif -- ---> Dirk Jagdmann ----> http://cubic.org/~doj -----> http://llg.cubic.org ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- Get_cpu_info on platforms other than Windows? Anders Broman (Feb 06)
- Re: Get_cpu_info on platforms other than Windows? Dirk Jagdmann (Feb 06)
- Re: Get_cpu_info on platforms other than Windows? Guy Harris (Feb 06)
- Re: Get_cpu_info on platforms other than Windows? Guy Harris (Feb 06)
- Re: Get_cpu_info on platforms other than Windows? Guy Harris (Feb 06)
- Re: Get_cpu_info on platforms other than Windows? Bálint Réczey (Feb 06)
- Re: Get_cpu_info on platforms other than Windows? Guy Harris (Feb 06)
- Re: Get_cpu_info on platforms other than Windows? Anders Broman (Feb 06)
- Re: Get_cpu_info on platforms other than Windows? Kurt Knochner (Feb 07)
- Re: Get_cpu_info on platforms other than Windows? Anders Broman (Feb 07)
- Re: Get_cpu_info on platforms other than Windows? Guy Harris (Feb 06)