Update NEWS and ChangeLog
[emu8051.git] / src / common.h
index cfd011f..c9df126 100644 (file)
@@ -16,7 +16,7 @@
  *
  * 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., 675 Mass Ave, Cambridge, MA 02139, USA.
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
  */
 
 #ifndef COMMON_H
@@ -51,10 +51,10 @@ typedef int bool;
 
 
 /* Returns TRUE if the strings 'a' and 'b' are equal. */
-#define STREQ(a, b) (strcmp((a), (b)) == 0)
+#define STREQ(a, b) (strcasecmp((a), (b)) == 0)
 
 /* Returns TRUE if the first 'c' characters of strings 'a' and 'b' are equal. */
-#define STREQ_LEN(a, b, c) (strncmp((a), (b), (c)) == 0)
+#define STREQ_LEN(a, b, c) (strncasecmp((a), (b), (c)) == 0)
 
 
 inline void