macloader: Fix build warning with LOG defines.

They need to be set before log.h is included or we will get redefiniton
warnings.

Change-Id: I87e971d32139a807998468e6a781e1f39dd7a8e5
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Andreas Schneider 2015-01-26 23:14:17 +01:00 committed by Ethan Chen
parent 60f13f21c2
commit 2b601794d7

View file

@ -16,15 +16,15 @@
* limitations under the License.
*/
#define LOG_TAG "macloader"
#define LOG_NDEBUG 0
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <cutils/log.h>
#define LOG_TAG "macloader"
#define LOG_NDEBUG 0
#include <cutils/log.h>
#define MACADDR_PATH "/efs/wifi/.mac.info"
#define CID_PATH "/data/.cid.info"