[openib-general] Re: [PATCH] Opensm - asserts before OSM_LOG_ENTER
Michael S. Tsirkin
mst at mellanox.co.il
Wed Feb 1 06:45:50 PST 2006
Quoting r. Hal Rosenstock <halr at voltaire.com>:
> This looks fine for Linux to me but since this file is shared by
> Windows, doesn't it need a conditionalization for those builds ?
The simplest way I guess is to
#define __func__ __FUNCTION__
Or move it to complib? Its up to you.
> Also, will __FUNCTION__ work in all the Windows cases ?
The latest DDK has it, as AFAIK so does VC7 and up. Do you care about VC6?
--
Michael S. Tsirkin
Staff Engineer, Mellanox Technologies
More information about the general
mailing list