author Gaia Pushbot <>
Mon, 06 Jan 2014 18:55:25 -0800
changeset 179251 3a37244033093d342ff83a7cdc1e85b8b732eff3
parent 159147 a90c62555235c1525c3134ec030736be5c51de6a
child 207357 d089350aff818ac688847038226fb4ec6071dca0
permissions -rw-r--r--
Bumping gaia.json for 4 gaia-central revision(s) a=gaia-bump ======== Author: John Hu <> Desc: Merge pull request #15054 from huchengtw-moz/video/Bug_915039-no-string-change Bug 915039 - [Video] There is no easy way to navigate back to the activi...,r=djf ======== Author: John Hu <> Desc: Bug 915039 - [Video] There is no easy way to navigate back to the activity caller if the library is empty ======== Author: John Hu <> Desc: Merge pull request #15053 from huchengtw-moz/video/Bug_915039_revert Revert "Merge pull request #14745 from huchengtw-moz/video/Bug_915039_ad... ======== Author: John Hu <> Desc: Revert "Merge pull request #14745 from huchengtw-moz/video/Bug_915039_add_cancel_button" This reverts commit a523c1ee4130a7883981924f8e68fb94be02428a, reversing changes made to 83688a4f70774f1f96f4621f781024fcc925bce9.

/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
 * You can obtain one at */

/* Implements the C99 <inttypes.h> interface, minus the SCN* format macros. */

#ifndef mozilla_IntegerPrintfMacros_h_
#define mozilla_IntegerPrintfMacros_h_

 * MSVC++ doesn't include <inttypes.h>, even in versions shipping <stdint.h>, so
 * we have to reimplement it there.  Note: <inttypes.h> #includes <stdint.h>.
 * Note that this header DOES NOT implement <inttypes.h>'s scanf macros.  MSVC's
 * scanf doesn't have sufficient format specifier support to implement them
 * (specifically, to implement scanning into an 8-bit location).
 * Moreover, scanf is a footgun: if the input number exceeds the bounds of the
 * target type, behavior is undefined (in the compiler sense: that is, this code
 * could overwrite your hard drive with zeroes):
 *   uint8_t u;
 *   sscanf("256", "%" SCNu8, &u); // BAD
 * This header will sometimes provide SCN* macros, by dint of being implemented
 * using <inttypes.h>.  But for these reasons, *never* use them!

#elif defined(_MSC_VER)
#  include "mozilla/MSIntTypes.h"
#  include <inttypes.h>

#endif  /* mozilla_IntegerPrintfMacros_h_ */