X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fjtag%2Fdrivers%2Fftd2xx_common.h;h=eaf14aedc0a1a6f615cdaf5ce0962ac838992ce3;hp=da858630b2e1e2eb8c570ae6951937c93975056b;hb=cc2d4f015f72d7c30d613b50572eb9f31fac515a;hpb=de0130a0aad83c1ef692ee4d68ab996a8668424d
diff --git a/src/jtag/drivers/ftd2xx_common.h b/src/jtag/drivers/ftd2xx_common.h
index da858630b2..eaf14aedc0 100644
--- a/src/jtag/drivers/ftd2xx_common.h
+++ b/src/jtag/drivers/ftd2xx_common.h
@@ -14,15 +14,13 @@
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
- * along with this program; if not, write to the *
- * Free Software Foundation, Inc., *
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
+ * along with this program. If not, see . *
***************************************************************************/
-#ifndef _FTD2XX_COMMON_H
-#define _FTD2XX_COMMON_H
+#ifndef OPENOCD_JTAG_DRIVERS_FTD2XX_COMMON_H
+#define OPENOCD_JTAG_DRIVERS_FTD2XX_COMMON_H
-#if BUILD_FT2232_FTD2XX == 1
+#if ((BUILD_PRESTO_FTD2XX == 1) || (BUILD_USB_BLASTER_FTD2XX == 1))
#include
static const char *ftd2xx_status_string(FT_STATUS status)
@@ -54,4 +52,4 @@ static const char *ftd2xx_status_string(FT_STATUS status)
}
#endif
-#endif /* _FTD2XX_COMMON_H */
+#endif /* OPENOCD_JTAG_DRIVERS_FTD2XX_COMMON_H */