equal
deleted
inserted
replaced
1 /* |
|
2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * Logging engine for USB. |
|
16 * |
|
17 */ |
|
18 |
|
19 // Uncomment next line to temporarily engage logging for release builds. |
|
20 #define __FLOGGER_UREL |
|
21 // Comment next line to temporarily disengage logging for debug builds |
|
22 #define __FLOGGER_UDEB |
|
23 |
|
24 // Determine whether, and how, flogger is to be included |
|
25 #ifdef __FLOGGER_UREL |
|
26 #ifdef __FLOGGER_UDEB |
|
27 #define __FLOGGER_INCLUDED |
|
28 MACRO __FLOG_UREL |
|
29 #endif |
|
30 #endif |
|
31 #ifdef __FLOGGER_UREL |
|
32 #ifndef __FLOGGER_UDEB |
|
33 #define __FLOGGER_INCLUDED |
|
34 MACRO __FLOG_UREL |
|
35 MACRO __FLOG_NO_UDEB |
|
36 #endif |
|
37 #endif |
|
38 #ifndef __FLOGGER_UREL |
|
39 #ifndef __FLOGGER_UDEB |
|
40 MACRO __FLOG_NO_UDEB |
|
41 #endif |
|
42 #endif |
|
43 #ifndef __FLOGGER_UREL |
|
44 #ifdef __FLOGGER_UDEB |
|
45 #define __FLOGGER_INCLUDED |
|
46 #define __FLOGGER_DEBUGGERLIBRARY |
|
47 #endif |
|
48 #endif |
|
49 |
|
50 |
|
51 #ifdef __FLOGGER_INCLUDED |
|
52 #ifndef __FLOGGER_SUPPRESS_LIBRARY |
|
53 #ifdef __FLOGGER_DEBUGGERLIBRARY |
|
54 DEBUGLIBRARY usblogger.lib |
|
55 #else |
|
56 LIBRARY usblogger.lib |
|
57 #endif |
|
58 #endif |
|
59 #endif |
|
60 |
|