All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ilya Averyanov <averyanovin@gmail.com>
To: "linux-bluetooth@vger.kernel.org" <linux-bluetooth@vger.kernel.org>
Subject: Re: [PATCH SBC] Fix for build on windows mingw
Date: Tue, 4 Oct 2016 18:24:31 +0300	[thread overview]
Message-ID: <CABi8O6YbqHw6U8yD_LuzmoHgrHD3+SqzCZGq6ye-tFqjHN7Xgw@mail.gmail.com> (raw)
In-Reply-To: <20161004142203.GA25818@x1c>

>From b2fdd53da7c684b56580c1332a25507530a5702e Mon Sep 17 00:00:00 2001
From: Ilya Averyanov <averyanovin@gmail.com>
Date: Tue, 4 Oct 2016 17:47:17 +0300
Subject: [PATCH] Fix error for build on windows mingw

Errors occur because int32_t type and other types define only in
stdint.h and mingw not include this file by default
---
 sbc/sbc_math.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sbc/sbc_math.h b/sbc/sbc_math.h
index 5476860..25b08ea 100644
--- a/sbc/sbc_math.h
+++ b/sbc/sbc_math.h
@@ -24,6 +24,8 @@
  *
  */

+#include <stdint.h>
+
 #define fabs(x) ((x) < 0 ? -(x) : (x))
 /* C does not provide an explicit arithmetic shift right but this will
    always be correct and every compiler *should* generate optimal code */
-- 
2.7.4


2016-10-04 17:22 GMT+03:00 Johan Hedberg <johan.hedberg@gmail.com>:
> Hi Ilya,
>
> On Tue, Oct 04, 2016, Ilya Averyanov wrote:
>> What about the patch?
>
> I think Luiz meant for you to resend the patch with the added
> information in the commit message. You can adjust the commit message in
> your local tree using git commit --amend.
>
> Johan

      reply	other threads:[~2016-10-04 15:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-02 15:14 [PATCH SBC] Fix for build on windows mingw Ilya Averyanov
2016-08-03 10:21 ` Luiz Augusto von Dentz
2016-08-04 15:19   ` Ilya Averyanov
2016-10-04 14:09     ` Ilya Averyanov
2016-10-04 14:22       ` Johan Hedberg
2016-10-04 15:24         ` Ilya Averyanov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CABi8O6YbqHw6U8yD_LuzmoHgrHD3+SqzCZGq6ye-tFqjHN7Xgw@mail.gmail.com \
    --to=averyanovin@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.