summaryrefslogtreecommitdiff
path: root/TAO/tao/compat/initguid.h
blob: f90676559a9ab586453aeabefee792ef01d78ddd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* This may look like C, but it's really -*- C++ -*- */
#ifndef TAO_COMPAT_INITGUID_H
#  define TAO_COMPAT_INITGUID_H

/* Insure proper inclusion order */
#ifndef DEFINE_GUID
#error initguid: must include objbase.h first.
#endif

/* assert DEFINE_GUID is defined */
#undef	DEFINE_GUID

#define DEFINE_GUID(name,b,c,d,e,f,g,h,i,j,k,l) \
            EXTERN_C const TAO_IID name = { 0 }

#endif /* TAO_COMPAT_INITGUID_H */