From 288cad1c2e401e5dfbd029b95f62ca05c85d3d61 Mon Sep 17 00:00:00 2001 From: pancake Date: Mon, 14 Jan 2008 11:25:08 +0100 Subject: * Up to 0.3.2 * Add HAVE_USB to config.mk - Now is possible to build a usb-less version of the flasher (only for unpacking and so, offline operations) * Refactor varname. Avoid portability problems: - reboot -> moboreboot --- src/query.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/query.c') diff --git a/src/query.c b/src/query.c index 3decf94..72b5b0f 100644 --- a/src/query.c +++ b/src/query.c @@ -1,6 +1,6 @@ /* * 0xFFFF - Open Free Fiasco Firmware Flasher - * Copyright (C) 2007 pancake + * Copyright (C) 2007,2008 pancake <@youterm.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -16,6 +16,8 @@ * along with this program. If not, see . */ +#if HAVE_USB + #include "main.h" #include #include @@ -337,3 +339,4 @@ int get_sw_version() return 1; } +#endif -- cgit v1.2.3