diff options
author | yamuna <yamuna@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-07-21 06:01:30 +0000 |
---|---|---|
committer | yamuna <yamuna@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-07-21 06:01:30 +0000 |
commit | 7b4de90ae18a722c57a55eeeacb91e437b636272 (patch) | |
tree | 238f8f29484f8addd201cf95ee0143fc2a534d4b /ace/config-win32-common.h | |
parent | 30ff217651fe5bdaa7058e4fbeb66cf35be630cd (diff) | |
download | ATCD-7b4de90ae18a722c57a55eeeacb91e437b636272.tar.gz |
ChangelogTag: Mon Jul 21 01:56:44 2003 Yamuna Krishnamurthy <yamuna@oomworks.com>
Diffstat (limited to 'ace/config-win32-common.h')
-rw-r--r-- | ace/config-win32-common.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ace/config-win32-common.h b/ace/config-win32-common.h index 73c2a82cd7f..798f42b6a42 100644 --- a/ace/config-win32-common.h +++ b/ace/config-win32-common.h @@ -1,6 +1,7 @@ /* -*- C++ -*- */ // $Id$ + #ifndef ACE_CONFIG_WIN32_COMMON_H #define ACE_CONFIG_WIN32_COMMON_H #include /**/ "ace/pre.h" @@ -575,5 +576,13 @@ typedef unsigned long long ACE_UINT64; # define ACE_HAS_LOG_MSG_NT_EVENT_LOG #endif /* !ACE_HAS_WINCE && !ACE_HAS_PHARLAP */ +// Needed for obtaining the MAC address +// I dont believe this will work under CE, notice the +// check for UNDER_CE. +# if defined (_MSC_VER) && !defined (UNDER_CE) +# include <nb30.h> +# pragma comment(lib, "netapi32.lib") // needed for obtaing MACaddress +# endif /* _MSC_VER */ + #include /**/ "ace/post.h" #endif /* ACE_CONFIG_WIN32_COMMON_H */ |